Actions
Bug #3409
closedlog level all is broken
Start date:
07/20/2018
Due date:
% Done:
100%
Spec Reference:
Description
I add the following LOG line to osmo-bts-trx:
LOGP(DL1P, LOGL_NOTICE, "bla");
If I use the following cfg file, the line doesn't show up:
log stderr logging filter all 1 logging level all error logging level l1p notice logging level l1c error logging level trx error
However, if I change the log line in the code to be LOGL_ERROR, then it shows up.
So, in my opinion, parsing of commands should set the levels in the following way:
- First "logging level all error" is read, so all log categories are set to ERROR.
- Then "logging level l1p notice" is read, so this specific category level is overwritten and set to NOTICE.
- As a result, all log lines of L1P category with level NOTICE or ERROR are printed. Additionally, ERROR level for all categories is also printed.
Related issues
Actions