diff options
Diffstat (limited to 'project2/common/environment.cpp')
-rw-r--r-- | project2/common/environment.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/project2/common/environment.cpp b/project2/common/environment.cpp index 6010860..b13a1c0 100644 --- a/project2/common/environment.cpp +++ b/project2/common/environment.cpp @@ -84,6 +84,8 @@ Environment::init() BOOST_FOREACH(const ConfigsMap::value_type & c, configs) { c->loadInto(dcc); } + LoaderBase::onAllComponents(boost::bind(&ComponentLoader::onConfigLoad, _1)); + Logger()->clear(); if (clLevel >= 0) { Logger()->addLogger(LogDriverLoader::createNew("console", clLevel, std::string())); |