Bug 1425830
| Summary: | logrotate rotates atop.log but process created atop_YYYYMMDD files | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Stefan Neufeind <redhat> |
| Component: | atop | Assignee: | Gwyn Ciesla <gwync> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | guillem.cuberes, gwync, joeytwiddle, redhat |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-06 14:54:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Stefan Neufeind
2017-02-22 14:32:59 UTC
As of atop-2.4.0-1.el7, this no longer uses logrotate. I don't know the solution to this. The issue has been raised on GitHub, but without a clear indication of how to fix it: https://github.com/Atoptool/atop/issues/33 We might find some inspiration here: https://github.com/Atoptool/atop/search?q=log In the meantime, I am using a workaround, doing a daily restart of atop daily, as mentioned in the GitHub issue. ---- I would also add one other concern: On most distributions, when I install atop it also start the atop service automatically, so it starts recording logs in the background. On CentOS, with atop version 2.6.0 release 6.el7, I did not realise until I went to look for the logs a few days later, that the service had not been started! If it doesn't contradict your policies, I think it would be good to start the service automatically. |