Root filesystem full: /var/log > 1.8 GB

Hal Burgiss hal at burgiss.net
Mon Oct 13 18:33:03 UTC 2008


On Mon, Oct 13, 2008 at 08:10:24PM +0200, Dotan Cohen wrote:
> What is safe to rm in /var/logs? I don't know if there is a problem

cat /dev/null > /var/log/$some_log

That will keep the file descriptor in place so that logging continues. 

-- 
Hal
 




More information about the ubuntu-users mailing list