DA usr-level > Log Viewer

Shark

Verified User
Joined
Aug 8, 2005
Messages
42
Location
Ohio
Been tweaking the server to migrate the rest of our sites of the Raq4. Currently I am working at understanding the CentOS4/DA log setup:

/var/log/directadmin/security.log
Does not even exist.

ls-alh of /var/log/directadmin :

"daily".logs
error.log
errortaskq.log
install.log
system.log

/var/log/exim/panic.log
is empty- tho I suspect this is good/normal with NO panics

/var/log/httpd/access.log
is currently empty:

-rw-r--r-- 1 root root 0 Aug 28 04:02 access_log
-rw-r--r-- 1 root root 0 Aug 21 04:02 access_log.1
-rw-r--r-- 1 root root 0 Aug 14 04:02 access_log.2
-rw-r--r-- 1 root root 48671 Aug 11 12:48 access_log.3

Looks like it started once I added a few domains. The httpd access logs for each domain are fine. Is this normal log behavior? If so, will the daily logs in /var/log/directadmin continue daily? They need to be manually removed???

DaveR~
 
Yeah, yeah I'm posting my own reply! Had the server about three weeks now and as predicted when I clicked Submit Reply, I found most of my answers:

/var/log/exim/panic.log
when empty NO panics is correct. Messing around with virus stuff found this out lol.

/var/log/directadmin/security.log
didn't exist 'til it had some errors to show.

Still looking for the answer as to why /var/log/httpd/access.log remains empty

-rw-r--r-- 1 root root 0 Aug 28 04:02 access_log
-rw-r--r-- 1 root root 0 Aug 21 04:02 access_log.1
-rw-r--r-- 1 root root 0 Aug 14 04:02 access_log.2
-rw-r--r-- 1 root root 48671 Aug 11 12:48 access_log.3

And /var/log/directadmin's daily logs- will they clean up after themselves or will one see 365 of them over a year????

Dave~
 
Thanks for the reply. All my logs rotate when specified and are in good shape but:

/var/log/directadmin contains

error.log
errortaskq.log
install.log
security.log
system.log

plus:

<snip>
Aug-08.log
Aug-09.log
Aug-10.log
Aug-11.log
Aug-12.log
Aug-13.log
</snip>

One log for every day. I'm guessing this is normal behavior but was wondering if it ever cleaned itself up as 365 days would yield 365 logs? Is this a benefit, a bug? Anyways, thanks for the hint- I need to learn a little logrotate now :)

DaveR~
 
Back
Top