campaignd: Emit debug messages when writing configuration to disk
This commit is contained in:
parent
0cb29bcf75
commit
4946dc6bd7
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue