logwatch are very big

SupermanInNY

Verified User
Joined
Sep 28, 2004
Messages
419
server:/var/cache/logwatch # ls -latr
total 60
drwxr-xr-x 8 root root 4096 Aug 30 2012 ..
drwx------ 2 root root 4096 Nov 18 04:02 logwatch.6PJS2maj
drwx------ 2 root root 4096 Nov 19 04:02 logwatch.C4MhBRTg
drwx------ 2 root root 4096 Nov 20 04:02 logwatch.HpkNySw5
drwx------ 2 root root 4096 Nov 21 04:02 logwatch.Ntzvfu4R
drwx------ 2 root root 4096 Nov 22 04:02 logwatch.SREvGipA
drwx------ 2 root root 4096 Nov 23 04:02 logwatch.OPmeUn5b
drwx------ 2 root root 4096 Nov 24 04:02 logwatch.2R04MOuy
drwx------ 2 root root 4096 Nov 25 04:02 logwatch.d2YWvrRk
drwx------ 2 root root 4096 Nov 26 04:02 logwatch.yBMu1I4Y
drwx------ 2 root root 4096 Nov 27 04:02 logwatch.tuym1j1u
drwxr-xr-x 13 root root 4096 Nov 28 04:02 .
drwx------ 2 root root 4096 Nov 28 04:02 logwatch.0zYQkWaO

server:/var/cache/logwatch #

server:/var/cache/logwatch # du -h
451M ./logwatch.2R04MOuy
1.3G ./logwatch.C4MhBRTg
283M ./logwatch.Ntzvfu4R
348M ./logwatch.SREvGipA
394M ./logwatch.OPmeUn5b
1.2G ./logwatch.yBMu1I4Y
1.1G ./logwatch.d2YWvrRk
1.3G ./logwatch.HpkNySw5
273M ./logwatch.0zYQkWaO
1.3G ./logwatch.tuym1j1u
1.2G ./logwatch.6PJS2maj
8.9G .

In a vanilla install of DA on CentOS 5.9 64-bit, how often do the logs rotate?

Thanks,

-Sup.
 
On one of my few remaining CentOS 5.x servers:
Code:
# cd /var/cache/logwatch
# ls -al
total 16
drwxr-xr-x 2 root root 4096 Nov 30 04:02 .
drwxr-xr-x 7 root root 4096 May 11  2011 ..
#
And on CentOS6 the directory doesn't exist at all. These are not logfiles. In general log files managed by logrotate are found in /var/log, and are rotated weekly unless you've made changes to your configuration.

But I'm probably missing something so I hope someone else will respond.

Jeff
 
Back
Top