srsRAN_4G
srsRAN_4G copied to clipboard
Allow log rotation
trafficstars
Issue Description
Impossible to rotate logs
Setup Details
I believe is universal
Expected Behavior
When logging for long time, it would be nice to be able to rotate/split logs to limiting file size.
Actual Behaviour
At the moment if the log file is deleted, will not be re-created, and if it is rotated with logrotate, will re-grow instantaneously (I guess because srsRAN will keep writing from previous position, rather than from the end of file (which would be the beginning of an emptied file).
Steps to reproduce the problem
Start logging (e.g. report_json_enable = true in enb.conf) and attempt to rotate/delete file during run.
Additional Information
This is more an enhancement suggestion rather than a bug.