PDA

View Full Version : Does DA rollup log files?



Alphawolf
12-20-2004, 07:49 PM
Hi all,

I'm a noobie to any sort of *nix admin. I just got my 1st dedicated server and I have Direct Admin v1.23.3 installed.

It seems the log just keeps growing.

Ideally, I'd like to be able to have 1 full log available for the previous day, then zip it up the next day - both the error log and tranfer log.

Also, I must be a tad retarded, because I cannot find the actual log file via FTP.

:(

Server is running FreeBSD.

I go through about 50BG/mo which will be increasing shortly, so I don't want to download and use bandwidth for log files that just keep growing, downloading the same data over with appended log info attached to the same file.

I use NetTracker 7 to analyze logs.

My server is managed, I just wanted the panel 'cos I like to do some things myself. :)

So, how can I control the way my log files are 'rolled' up daily? This was done on my virtual host and I found that very efficient.

Thanks in advance,

AW

jmstacey
12-21-2004, 12:18 AM
DA rotates the apache log files based on filesize. The default is 100mb and this con be configured in the adminisration settings page on the admin level.

I believe you can also rotate logs based on time and not just by size now as of 1.232
http://www.directadmin.com/features.php?id=447

Apache logs files are kept in /var/log/httpd/domains/ and is not accessible via ftp. Once logs are rotated, the backups are place in your home directory which can be accessed via ftp.
Specifically, they are kept in /home/username/domains/domain.com/logs/

Alphawolf
12-21-2004, 06:56 AM
Thanks very much for the reply. I will hunt around Admin.

If I know they are backed up at 100MB then that is fine.