if (force_fg_logging)
set_foreground_logging();
- {
- // In the long term, it would be best to ensure that we read ceph.conf
- // before initializing dout(). For now, just force a reopen here with the
- // configuration we have just read.
- DoutLocker _dout_locker;
- _dout_open_log();
- }
-
if (g_conf.daemonize)
cout << ceph_version_to_string() << std::endl;
#endif
parse_config_options(args);
+
+ {
+ // In the long term, it would be best to ensure that we read ceph.conf
+ // before initializing dout(). For now, just force a reopen here with the
+ // configuration we have just read.
+ DoutLocker _dout_locker;
+ _dout_open_log();
+ }
+
install_standard_sighandlers();
#ifdef HAVE_LIBTCMALLOC