diff options
author | Robert Swiecki <robert@swiecki.net> | 2022-03-15 00:44:33 +0100 |
---|---|---|
committer | Robert Swiecki <robert@swiecki.net> | 2022-03-15 00:44:33 +0100 |
commit | 6483728e2490c1fc497a81bba5682515eb489cf8 (patch) | |
tree | 97b86dabbd07d044732b3d89a9176a1709057f71 | |
parent | e678c25b325cf5a7045234e5665743d32023ee99 (diff) | |
download | nsjail-6483728e2490c1fc497a81bba5682515eb489cf8.tar.gz |
config: better config parsing debugging
-rw-r--r-- | config.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -326,11 +326,11 @@ bool parseFile(nsjconf_t* nsjconf, const char* file) { 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; } |