Skip to content

Commit

Permalink
redpanda: Recommend rpk config set
Browse files Browse the repository at this point in the history
Redpanda suggests:
```
INFO  2022-11-23 15:00:11,965 [shard 0] main - application.cc:543 - Node configuration properties:
INFO  2022-11-23 15:00:11,965 [shard 0] main - application.cc:544 - (use `rpk config set <cfg> <value>` to change)
```
When the `rpk config set` is used the following log appears:
```
Command "set" is deprecated, use "rpk redpanda config set" instead
```

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit bfbfe88)
  • Loading branch information
BenPope authored and vbotbuildovich committed Nov 23, 2022
1 parent 2418d88 commit f9c7db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/redpanda/application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ void application::hydrate_config(const po::variables_map& cfg) {
config_printer("redpanda", config::shard_local_cfg());

vlog(_log.info, "Node configuration properties:");
vlog(_log.info, "(use `rpk config set <cfg> <value>` to change)");
vlog(_log.info, "(use `rpk redpanda config set <cfg> <value>` to change)");
config_printer("redpanda", config::node());

if (config["pandaproxy"]) {
Expand Down

0 comments on commit f9c7db2

Please sign in to comment.