Move atop (binary) logs to subdir /var/log/atop

Bug #362834 reported by agent 8131
4
Affects Status Importance Assigned to Milestone
atop (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: atop

By default the atop init script sets up a binary log at /var/log/atop.log. I have found this frustrating when using various tools such as tail, xtail, and grep in which I'd like to search human readable logs. Since atop.log is a binary file I suggest it either uses a different name or a different location. I've updated all my init scripts to put it in /var/lib/misc. If it were renamed from .log but kept in /var/log it would also need a logrotate.d file so I found that moving it was the easier way to go.

Revision history for this message
C de-Avillez (hggdh2) wrote :

Marking as WishList. Although I do not quite agree (there are other binary files under /var/log, and the atop files there *are* log files), I do not feel confident in answering.

Changed in atop (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Bart Verwilst (verwilst) wrote :

I agree that storing binary *.log files in /var/log can be quite annoying when doing "grep shizzle /var/log/*.log" . A possible solution could be to store it in /var/log/atop/*.log?

Revision history for this message
Daniel Hahler (blueyed) wrote : Re: Move atop (binary) logs to subdir /var/log/atop/

I agree with Bart, /var/log/atop came to my mind when reading this bug, too.

Changed in atop (Ubuntu):
status: New → Triaged
summary: - atop raw datafile should be renamed or not stored in /var/log
+ Move atop (binary) logs to /var/log/atop
summary: - Move atop (binary) logs to /var/log/atop
+ Move atop (binary) logs to subdir /var/log/atop/
Revision history for this message
Daniel Hahler (blueyed) wrote :

JFI: I have just found a /var/log/atop directory (empty) on a server, from 2008-03-07 - so there might have been a point in the package history where it was done like that.
However, this might also come from another system installed on the machine before.

summary: - Move atop (binary) logs to subdir /var/log/atop/
+ Move atop (binary) logs to subdir /var/log/atop
Revision history for this message
Mason Schmitt (nosam) wrote :

I'm running 16.04LTS and all my atop binary logs are stored in /var/log/atop/ so it appears this wish has been granted and this bug can be closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.