Hi
Have a site,
/home/admin/domains/mydomain.com/logs - here logs were stored in tar.gz format, day by day.
some time ago I set up httpd conf ( in usr/local/directadmin/data/users/admin ) like this
CustomLog /home/admin/domains/mydomain.com/log/mydomain.com.log combined
ErrorLog /home/admin/domains/mydomain.com/log/mydomain.com.error.log
because I need my current logs nearby.
But now I noticed, that mydomain.com.log grow and grow, w/o daily rotation.
And in same time in /home/admin/domains/mydomain.com/logs no more tar.gz logs created
I wonder if there any way to fix it?
I want old fashion behavior, when mydomay.com.log store data only for current day
and after this day it archieved and go to /logs folder.
How do I do it?
Have a site,
/home/admin/domains/mydomain.com/logs - here logs were stored in tar.gz format, day by day.
some time ago I set up httpd conf ( in usr/local/directadmin/data/users/admin ) like this
CustomLog /home/admin/domains/mydomain.com/log/mydomain.com.log combined
ErrorLog /home/admin/domains/mydomain.com/log/mydomain.com.error.log
because I need my current logs nearby.
But now I noticed, that mydomain.com.log grow and grow, w/o daily rotation.
And in same time in /home/admin/domains/mydomain.com/logs no more tar.gz logs created
I wonder if there any way to fix it?
I want old fashion behavior, when mydomay.com.log store data only for current day
and after this day it archieved and go to /logs folder.
How do I do it?