diff options
| author | Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org> | 2025-01-06 12:47:33 +0100 |
|---|---|---|
| committer | Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org> | 2025-01-08 13:30:40 +0100 |
| commit | 9951da394abb71c6542f91031ac3a9fab04193bd (patch) | |
| tree | 7e4f17a2441b4ece6831650460a8a9eca84e1109 /tests/topotests/grpc_basic/test_basic_grpc.py | |
| parent | 21fe1f4d83502ac1c2262913c1a98441ea89bf24 (diff) | |
lib: Try to open 5424 log destination when changing log threshold
When changing the log threshold (prio_min) using zlog_5424_apply_meta(), try
to open the log destination using zlog_5424_open() if we haven't done so
before. Without this, we might never open the destination at all, because
when zlog_5424_apply_dst() gets called (which so far was the only initial
caller of zlog_5424_open()), chances are that prio_min is still at its
initial value of ZLOG_DISABLED, causing it to skip the call to
zlog_5424_open().
Signed-off-by: Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
Diffstat (limited to 'tests/topotests/grpc_basic/test_basic_grpc.py')
0 files changed, 0 insertions, 0 deletions
