-
Notifications
You must be signed in to change notification settings - Fork 43
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
How to setup log rotation #303
Comments
Hey @gtcat - could you clarify what log rotation are you talking about? Are you referring to the napalm-logs log file |
@mirceaulinic - yes I'm referring to the log file /var/log/napalm/logs. Sorry, I forgot to mention that. |
Ah, alright, in that case you might want to take a look at |
I used I guess the logging code in napalm-logs should be adapted to support logrotate properly. |
Interesting, wasn't aware of this. |
Hi
I'm using napalm-logs 0.7.0 as a system service on CentOS 7. How should I setup a proper log rotation? Are there options to configure? What is the best practice solution?
Current config:
cat /usr/lib/systemd/system/napalm-logs.service
cat /etc/napalm/logs
The text was updated successfully, but these errors were encountered: