We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 078a675 commit 4177d03Copy full SHA for 4177d03
apps/gnb/gnb.cpp
@@ -301,7 +301,9 @@ int main(int argc, char** argv)
301
e2ap_logger.set_hex_dump_max_size(gnb_cfg.log_cfg.hex_max_size);
302
303
if (not gnb_cfg.log_cfg.tracing_filename.empty()) {
304
+ gnb_logger.info("Opening event tracer...");
305
open_trace_file(gnb_cfg.log_cfg.tracing_filename);
306
+ gnb_logger.info("Event tracer opened successfully");
307
}
308
309
// Log build info
@@ -565,6 +567,12 @@ int main(int argc, char** argv)
565
567
566
568
srslog::flush();
569
570
+ if (not gnb_cfg.log_cfg.tracing_filename.empty()) {
571
+ gnb_logger.info("Closing event tracer...");
572
+ close_trace_file();
573
+ gnb_logger.info("Event tracer closed successfully");
574
+ }
575
+
576
return 0;
577
578
0 commit comments