Skip to content

Commit

Permalink
config: bump log level for failed config parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Jun 27, 2024
1 parent 5d31f85 commit 3a7788d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ bool parseFile(nsjconf_t* nsjconf, const char* file) {
}

if (!json_status.ok() && !text_parsed) {
LOG_W("Config file %s failed to parse as either TextProto or ProtoJSON", QC(file));
LOG_E("Config file %s failed to parse as either TextProto or ProtoJSON", QC(file));
flushLog();
LOG_W("ProtoJSON parse status: '%s'", json_status.ToString().c_str());
return false;
Expand Down

0 comments on commit 3a7788d

Please sign in to comment.