Skip to content

Commit e45cb63

Browse files
committed
DAOS-19133 common: Adjust engin logs severity names
Adjust severity names in engine logs to follow ones defined for server - DBUG → DEBUG - ERR → ERROR (TBD) - EMRG → FATAL (TBD) Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
1 parent 05984ff commit e45cb63

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/gurt/dlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ static const char *clog_pristr(int);
115115
static int clog_setnfac(int);
116116

117117
/* static arrays for converting between pri's and strings */
118-
static const char * const norm[] = { "DBUG", "INFO", "NOTE", "WARN", "ERR ",
119-
"CRIT", "ALRT", "EMRG", "EMIT"};
118+
static const char *const norm[] = { "DEBUG", "INFO ", "NOTE ", "WARN ", "ERR ",
119+
"CRIT ", "ALRT ", "EMRG ", "EMIT "};
120120
/**
121121
* clog_pristr: convert priority to 4 byte symbolic name.
122122
*

src/tests/ftest/cart/util/cart_logparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class InvalidLogFile(Exception):
3434
'WARN': 6,
3535
'NOTE': 7,
3636
'INFO': 8,
37-
'DBUG': 9}
37+
'DEBUG': 9}
3838

3939
# Make a reverse lookup from log level to name.
4040
LOG_NAMES = {}

0 commit comments

Comments
 (0)