PDA

View Full Version : Log file locations?



techguy
01-23-2005, 10:06 AM
Hello

I have a relatively new DA installation, so I can't be sure this feature ever did work correctly on my server;
The logs aren't being written or rotated into the ~user/domains/mydomain.com/logs folder.

There is log files the /var/log/httpd
and /var/log/httpd/domains/mydomain.log is being written.

Shouldn't they be copied into the user home folder?

Thankyou
-John

fusionictnl
01-23-2005, 12:57 PM
I think it was their first intention to log it in that dir. But is never happend. Probably because deletion of logs or any changes in it's rights could screw up the httpd deamon.

DirectAdmin Support
01-24-2005, 07:55 AM
Hello,

The apache logs are logged by apache into /var/log/httpd/domains/domain.com.log

DA will rotate those logs every night, but only if they meet the rotate size requirements. This size is set in the Admin Panel -> Admin Settings. I believe the default is 10 meg. Some sites don't have that much traffic so their logs don't rotate too quickly. If you set the rotate size to 1 meg, or even 0, then it will be rotated more often (0 means every night).

John

nobaloney
01-24-2005, 09:53 AM
Thanks, John, but your reply still confuses me a bit:

1) do these logs rotate into the user's logs directory under their /home/username path?

2) Where do we set the rotate size?

Thanks!

Jeff

fusionictnl
01-24-2005, 10:15 AM
Hello,

1.The apache logs are logged by apache into /var/log/httpd/domains/domain.com.log

2.
DA will rotate those logs every night, but only if they meet the rotate size requirements. This size is set in the Admin Panel -> Admin Settings. I believe the default is 10 meg. Some sites don't have that much traffic so their logs don't rotate too quickly. If you set the rotate size to 1 meg, or even 0, then it will be rotated more often (0 means every night).

John



And the log files aren't in the users home ;)