"This is normally used in combination with --mkfs")
("mkfs", "create a [new] data directory")
("debug", "enable debug output on all loggers")
+ ("trace", "enable trace output on all loggers")
("no-mon-config", "do not retrieve configuration from monitors on boot")
("prometheus_port", bpo::value<uint16_t>()->default_value(0),
"Prometheus port. Set to zero to disable")
seastar::log_level::debug
);
}
+ if (config.count("trace")) {
+ seastar::global_logger_registry().set_all_loggers_level(
+ seastar::log_level::trace
+ );
+ }
sharded_conf().start(init_params.name, cluster_name).get();
auto stop_conf = seastar::defer([] {
sharded_conf().stop().get();
new=0
standby=0
debug=0
+trace=0
ip=""
nodaemon=0
redirect=0
usage: $0 [option]... \nex: MON=3 OSD=1 MDS=1 MGR=1 RGW=1 NFS=1 $0 -n -d
options:
-d, --debug
+ -t, --trace
-s, --standby_mds: Generate standby-replay MDS for each active
-l, --localhost: use localhost instead of hostname
-i <ip>: bind to specific ip
-d | --debug)
debug=1
;;
+ -t | --trace)
+ trace=1
+ ;;
-s | --standby_mds)
standby=1
;;
if [ "$debug" -ne 0 ]; then
extra_seastar_args+=" --debug"
fi
+ if [ "$trace" -ne 0]; then
+ extra_seastar_args+=" --trace"
+ fi
fi
if [ "$new" -eq 1 -o $inc_osd_num -gt 0 ]; then
wconf <<EOF