uw-ictd / colte

Community LTE Project
MIT License
59 stars 27 forks source link

conf: Disable open5gs internal file logging #86

Closed matt9j closed 3 years ago

matt9j commented 3 years ago

Open5gs comes with configuration support to log to a file. Since we operate CoLTE in a systemd environment on debian/ubnuntu we can use journald to manage logging and log rotation. Journald automatically captures the process standard out, making these log files unnecessary.

They can actually cause a problem in long-running systems unless some kind of logrotate or log collection system is setup to prevent them from growing without bound. At the time of this commit open5gs does not do any kind of log trimming by default, and simply appends to the files.