Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log rotation #542

Closed
kbarlee opened this issue Sep 1, 2020 · 1 comment
Closed

Log rotation #542

kbarlee opened this issue Sep 1, 2020 · 1 comment

Comments

@kbarlee
Copy link
Contributor

kbarlee commented Sep 1, 2020

Hey Sukchan

I was wondering, what is the situation with log rotation? Is there an inbuilt feature trying to rotate log files when launching the binaries?

I see there is some mention of it here, but this is only related to the 4G parts.
https://github.com/open5gs/open5gs/tree/master/configs/logrotate

Cheers
Kenny

@acetcom
Copy link
Member

acetcom commented Sep 2, 2020

Hello Kenny

I missed it. Thank you so much for discovering it.

For your reference, Open5GS daemons do not have their own log rotation function. So, if you do not use functions such as log rotate, Open5GS log files are accumulated endlessly.

When Open5GS is installed as a package, the log rotate setting is automatically installed.

Please let me know if you have any further questions.

Thanks again!
Sukchan

@kbarlee kbarlee closed this as completed Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants