commit | b186ebaaced44bce39eaf2cc961416a626499db1 | [log] [tgz] |
---|---|---|
author | bhart <brandon.hart@adtran.com> | Mon Nov 12 15:35:09 2018 -0600 |
committer | bhart <brandon.hart@adtran.com> | Mon Nov 12 15:35:09 2018 -0600 |
tree | 41b3f64dbb428b13122e1f61260f49321702bb39 | |
parent | 352c39033a85a25ad0e3fc78a77579973a2c9947 [diff] |
Update syslog message priority format to match sysrepo
diff --git a/src/log.c b/src/log.c index f75fb7d..143e4a9 100644 --- a/src/log.c +++ b/src/log.c
@@ -42,10 +42,10 @@ NC_VERB_LEVEL level; const char *label; } verb[] = { - {NC_VERB_ERROR, "ERROR"}, - {NC_VERB_WARNING, "WARNING"}, - {NC_VERB_VERBOSE, "VERBOSE"}, - {NC_VERB_DEBUG, "DEBUG"} + {NC_VERB_ERROR, "[ERR]"}, + {NC_VERB_WARNING, "[WRN]"}, + {NC_VERB_VERBOSE, "[INF]"}, + {NC_VERB_DEBUG, "[DBG]"} }; #ifdef NC_ENABLED_SSH