#914514 atop: should use logrotate for log rotation

Package:
atop
Source:
atop
Description:
Monitor for system resources and process activity
Submitter:
Jade McCormick
Date:
2020-11-20 13:27:04 UTC
Severity:
wishlist
Tags:
#914514#5
Date:
2018-11-24 08:53:13 UTC
From:
To:
Dear Maintainer,

In managing my log directory and customize logrotate, I discovered
limitations in the way atop handles log files (which are different
from text files since they are process accounting files,, to my
understanding).

Can this package use logrotate like other debian packages? It's confusing, and then to discover that
/usr/share/atop/atop.daily is executed from a shell script in the background, made me think
that atop log handling could be greatly improved.

There are other bugs related to log file handling:

#877148 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877148

I had to directly modify the /usr/share/atop/atop.daily to achieve my
temporary goal (accumulate more logfiles)

#914514#10
Date:
2018-11-25 12:32:56 UTC
From:
To:
severity #914514 wishlist
thanks

I'd rather not open this can of worms again, there are many things to
get wrong. Please consider discussion this with upstream. I do see the
advantages of using logrotate, but there's no compelling reason to
deviate so far away from the way upstream does it yet.

Greetings
Marc

#914514#15
Date:
2018-11-25 12:32:56 UTC
From:
To:
severity #914514 wishlist
thanks

I'd rather not open this can of worms again, there are many things to
get wrong. Please consider discussion this with upstream. I do see the
advantages of using logrotate, but there's no compelling reason to
deviate so far away from the way upstream does it yet.

Greetings
Marc

#914514#22
Date:
2020-11-20 13:25:05 UTC
From:
To:
This can now (2.4.0-3) be done from /etc/default/atop.

Greetings
Marc

#914514#25
Date:
2020-11-20 13:25:05 UTC
From:
To:
This can now (2.4.0-3) be done from /etc/default/atop.

Greetings
Marc