Sopheak
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
- Already configed and run
sudo /usr/sbin/logrotate -f /etc/logrotate.conf
. - ls to log folder and see:
development.log development.log.1 production.log production.log.1
Why can't I see the compressed log (production.log.1.gz)?
Below are the configuration with log rotate:
/home/ubuntu/project_name/log/*.log { daily missingok rotate 30 compress delaycompress notifempty copytruncate }
Thanks beforehand for your response.