commit | 6483728e2490c1fc497a81bba5682515eb489cf8 | [log] [tgz] |
---|---|---|
author | Robert Swiecki <robert@swiecki.net> | Tue Mar 15 00:44:33 2022 +0100 |
committer | Robert Swiecki <robert@swiecki.net> | Tue Mar 15 00:44:33 2022 +0100 |
tree | 97b86dabbd07d044732b3d89a9176a1709057f71 | |
parent | e678c25b325cf5a7045234e5665743d32023ee99 [diff] |
config: better config parsing debugging
diff --git a/config.cc b/config.cc index e9344c9..0179697 100644 --- a/config.cc +++ b/config.cc
@@ -326,11 +326,11 @@ return false; } if (!configParseInternal(nsjconf, nsc)) { - LOG_W("Couldn't parse the ProtoBuf"); + LOG_W("Couldn't parse the ProtoBuf from '%s'", file); return false; } - LOG_D("Parsed config:\n'%s'", nsc.DebugString().c_str()); + LOG_D("Parsed config from '%s':\n'%s'", file, nsc.DebugString().c_str()); return true; }