campaignd: Emit debug messages when writing configuration to disk

This commit is contained in:
Ignacio R. Morelle 2014-10-28 22:02:36 -03:00
parent 0cb29bcf75
commit 4946dc6bd7

View file

@ -184,8 +184,10 @@ void server::load_blacklist()
void server::write_config()
{
DBG_CS << "writing configuration and add-ons list to disk...\n";
filesystem::scoped_ostream out = filesystem::ostream_file(cfg_file_);
write(*out, cfg_);
DBG_CS << "... done\n";
}
void server::fire(const std::string& hook, const std::string& addon)