Skip to content

Commit b186eba

Browse files
committed
Update syslog message priority format to match sysrepo
1 parent 352c390 commit b186eba

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/log.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ struct {
4242
NC_VERB_LEVEL level;
4343
const char *label;
4444
} verb[] = {
45-
{NC_VERB_ERROR, "ERROR"},
46-
{NC_VERB_WARNING, "WARNING"},
47-
{NC_VERB_VERBOSE, "VERBOSE"},
48-
{NC_VERB_DEBUG, "DEBUG"}
45+
{NC_VERB_ERROR, "[ERR]"},
46+
{NC_VERB_WARNING, "[WRN]"},
47+
{NC_VERB_VERBOSE, "[INF]"},
48+
{NC_VERB_DEBUG, "[DBG]"}
4949
};
5050

5151
#ifdef NC_ENABLED_SSH

0 commit comments

Comments
 (0)