open5gs/lib/app
Oliver Smith 7973e45d16 [CORE] logger: add option to disable timestamps
Add an option to disable printing the timestamp. This is useful to not
have duplicate timestamps, when stderr is piped into a logging system
that adds timestamps on its own. For example with systemd's journald:

$ journalctl -u open5gs-smfd
Apr 10 13:25:18 hostname open5gs-smfd[1582]: 04/10 13:25:18.274: [app] INFO: Configuration: '/etc/open5gs/smf.yaml' (../lib/app/ogs-init.c:130)

Configuration change:
```
<OLD Format>
logger:
  file: /var/log/open5gs/smf.log

<NEW Format>
logger:
  file:
    path: /var/log/open5gs/smf.log
```

Example config, to have no timestamps on stderr:
```
logger:
  default:
    timestamp: false
  file:
    path: /var/log/open5gs/smf.log
    timestamp: true
```
2024-04-18 21:08:35 +09:00
..
meson.build [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
ogs-app.h [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
ogs-config.c [MME] [AMF] Add no_time_zone_information param (#2745) 2023-11-27 22:26:12 +09:00
ogs-config.h [MME] [AMF] Add no_time_zone_information param (#2745) 2023-11-27 22:26:12 +09:00
ogs-context.c [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
ogs-context.h [CORE] logger: add option to disable timestamps 2024-04-18 21:08:35 +09:00
ogs-init.c [CORE] logger: add option to disable timestamps 2024-04-18 21:08:35 +09:00
ogs-init.h Use HTTP/2 instead of HTTP/1.1 in 5G Core SBI 2020-11-26 21:44:37 -05:00
ogs-yaml.c [CORE] logger: add option to disable timestamps 2024-04-18 21:08:35 +09:00
ogs-yaml.h [CORE] logger: add option to disable timestamps 2024-04-18 21:08:35 +09:00