Files
openairinterface5g/common/utils/LOG/DOC/log.md
T
Cedric Roux 0806734254 T tracer: add option to have both T traces and regular console logs
Use --T_stdout 2 to have both.

--T_stdout 0 is still the way to have only T traces and no console logs.
2022-01-11 11:04:00 +01:00

1.0 KiB

OAI console logging facility

oai includes a console logging facility that any component should use when writting informational or debugging messages to the softmodem or uesoftmodem stdout stream. By default, this facility is included at build-time and activated at run-time. The T Tracer and the Logging facility share common options for activation:

  • To disable the logging facility (and T Tracer) at build-time use the --disable-T-Tracer switch:
/build_oai --disable-T-Tracer
  • To use the the T-Tracer, use the command line option T_stdout. When set to 0, it disables the console logging facility. All stdout messages are then sent to the T-Tracer. When set to 1 (the default), the logs are output to the linux console and no T trace is generated. When set to 2 both console logging and T traces are activated.

Documentation

oai Wikis home