Log file locations?

techguy

Verified User
Joined
Dec 29, 2004
Messages
9
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
 
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.
 
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
 
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
 

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 ;)
 
Back
Top