aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-05-13 09:52:36 -0600
committerBen Burdette <bburdette@gmail.com>2020-05-13 09:52:36 -0600
commitbfca5fc395bdaf5823413e1a1679f1b0b6db29dd (patch)
tree02a54afa6ae9f4492670946a2732513a3607e5b4 /src/libutil/logging.cc
parentecbb8e9c0a4374b26defde2cd10932d633affed3 (diff)
change status messages to info level
Diffstat (limited to 'src/libutil/logging.cc')
-rw-r--r--src/libutil/logging.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libutil/logging.cc b/src/libutil/logging.cc
index 736ce604e..071a7ec7e 100644
--- a/src/libutil/logging.cc
+++ b/src/libutil/logging.cc
@@ -251,7 +251,11 @@ bool handleJSONLogMessage(const std::string & msg,
}
} catch (std::exception & e) {
- printError("bad log message from builder: %s", e.what());
+ logError(
+ ErrorInfo {
+ .name = "Json log message",
+ .hint = hintfmt("bad log message from builder: %s", e.what())
+ });
}
return true;