mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
- make internal links relative where applicable - delete link to the wiki, as the documentation is in the main repo, not the wiki - remove some "example in oai code" as the examples either don't exist, or are not in that place, and we can reasonably expect people to grep Signed-off-by: Robert Schmidt <robert.schmidt@openairinterface.org>
21 lines
1.0 KiB
Markdown
21 lines
1.0 KiB
Markdown
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
|
|
|
# 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:
|
|
|
|
```bash
|
|
/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
|
|
|
|
* [runtime usage](rtusage.md)
|
|
* [developer usage](devusage.md)
|
|
* [module architecture](arch.md)
|
|
* [lttng usage](lttng_logs.md)
|