]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "global: call config observers on global_init (and start logging!)"
authorGreg Farnum <greg@inktank.com>
Tue, 9 Apr 2013 01:20:53 +0000 (18:20 -0700)
committerGreg Farnum <greg@inktank.com>
Tue, 9 Apr 2013 01:20:53 +0000 (18:20 -0700)
This reverts commit a30917746614275baeb718e902133f06ef44fba6. This commit
includes calls that involve Mutexes, Lockers, and lockdep -- which isn't
yet set up, so things break horribly. A more subtle approach is required.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/global/global_init.cc

index 9a77e734801360cabe4e03a4acc841898bf7c7c1..0f7179c39dfda360340697e3570b73ccfe5f3fa5 100644 (file)
@@ -106,10 +106,6 @@ void global_init(std::vector < const char * > *alt_def_args, std::vector < const
 
   g_lockdep = cct->_conf->lockdep;
 
-  // call all observers now.  this has the side-effect of configuring
-  // and opening the log file immediately.
-  conf->call_all_observers();
-
   // Now we're ready to complain about config file parse errors
   complain_about_parse_errors(cct, &parse_errors);