Need to rotate manually or force the rotation of the file [I]kern.log[/I]
Hi,
I just forced the rotation of file sys.log with the command: Code:
sudo logrotate -vf /etc/logrotate.conf I know that I can empty kern.log but I do not want to, I need to compress it immediately. Thx in advance. PS: Sorry for my english, not native. |
If you create an entry for kern.log under /etc/logrotate.d, the same command should do the trick. Just copy the sys.log config (or config for any other log file) and adapt it to kern.log.
|
All times are GMT -5. The time now is 07:08 PM. |