@@ -228,13 +239,11 @@ int main(int argc, char** argv) {
return1;
}
}
//propagate overwritten values back to cfg
cfg.setGlobal(globalSettings);
//we now should know where the writable tempdir is
//set up logger to file
autofileSink=boost::log::add_file_log(
boost::log::keywords::file_name=globalSettings.pluginSettings.tempdir+"dcdb_%N.log",// number logfiles ascending
boost::log::keywords::file_name=pluginSettings.tempdir+"dcdb_%N.log",// number logfiles ascending
boost::log::keywords::rotation_size=10*1024*1024,//rotate logfile every 10 MiB
//boost::log::keywords::time_based_rotation = boost::log::sinks::file::rotation_at_time_point(0, 0, 0), //Throws bad year-exception for no obvious reason