forked from acouzens/open5gs
80ab4c4a1b
When we run the test, for example, ./tests/registration/registration simple-init, wee get an INFO message like the one below. ``` 05/17 14:24:03.933: [sbi] INFO: NF EndPoint(addr) setup [127.0.0.200:7777] (../lib/sbi/context.c:474) ``` When we run the code in Open5GS, the log level initially defaults to INFO. However, for test code, we change the log level to ERROR by automatically inserting the -e error option into argv. The reason for this is to prevent WARNING and INFO messages from appearing when the test code is run. However, the log level to ERROR is changed at the bottom of the initialize routine, which caused the above message to be printed during testing. To prevent this from being printed, I modified the code to change that log level to ERROR a little earlier. |
||
---|---|---|
.. | ||
af-sm.c | ||
af-sm.h | ||
context.c | ||
context.h | ||
event.c | ||
event.h | ||
init.c | ||
init.h | ||
local.c | ||
local.h | ||
meson.build | ||
nbsf-build.c | ||
nbsf-build.h | ||
nbsf-handler.c | ||
nbsf-handler.h | ||
nnrf-handler.c | ||
nnrf-handler.h | ||
npcf-build.c | ||
npcf-build.h | ||
npcf-handler.c | ||
npcf-handler.h | ||
sbi-path.c | ||
sbi-path.h |