-
Notifications
You must be signed in to change notification settings - Fork 625
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
Running TheHive 4.0.1-1 it appears that application.log is no longer rotated. #1746
Comments
Hello, same issue here. We implemented a workaround using rsyslog and logrotate. /etc/thehive/logback.xml
/etc/rsyslog.conf
/etc/rsyslog.d/40-thehive.conf
/etc/logrotate.d/thehive
|
@pitrh which package do you use (deb, rpm, zip, ...) ? Can you check if logback configuration file is used by TheHive (with the parameter |
I found a typo in logback.xml file. This is probably why logs are not rotated. |
The package was the then-latest rpm -- Applying the changes indicated in the referenced commit followed by "sudo systemctl restart thehive" did get log rotation going. Please see my comment on the commit, the local (untouched) logback-migration.xml differed from the "before" version referenced in the commit. |
Running TheHive 4.0.1-1 it appears that application.log is no longer rotated.
No changes made to the supplied logback.xml
How do I enable and/or debug the issue?
Originally posted by @pitrh in #579 (comment)
The text was updated successfully, but these errors were encountered: