Skip to content
Snippets Groups Projects
Commit c7c05100 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #9832: config: cleanup logging

parent e5cf1fe7
No related branches found
No related tags found
No related merge requests found
...@@ -197,7 +197,7 @@ void ConfigTree::setConfigTreeItem(const std::string& section, ...@@ -197,7 +197,7 @@ void ConfigTree::setConfigTreeItem(const std::string& section,
bool bool
ConfigTree::populateFromFile(const std::string& fileName) ConfigTree::populateFromFile(const std::string& fileName)
{ {
DEBUG("ConfigTree: Populate from file %s", fileName.c_str()); DEBUG("Populate from file %s", fileName.c_str());
if (fileName.empty()) if (fileName.empty())
return false; return false;
......
...@@ -97,7 +97,7 @@ void YamlEmitter::serializeAccount(MappingNode *map) ...@@ -97,7 +97,7 @@ void YamlEmitter::serializeAccount(MappingNode *map)
if (isFirstAccount_) { if (isFirstAccount_) {
int accountid; int accountid;
DEBUG("YamlEmitter: Create account sequence"); DEBUG("Create account sequence");
// accountSequence_ need to be static outside this scope since reused each time an account is written // accountSequence_ need to be static outside this scope since reused each time an account is written
if ((accountid = yaml_document_add_scalar(&document_, NULL, (yaml_char_t *) "accounts", -1, YAML_PLAIN_SCALAR_STYLE)) == 0) if ((accountid = yaml_document_add_scalar(&document_, NULL, (yaml_char_t *) "accounts", -1, YAML_PLAIN_SCALAR_STYLE)) == 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment