Clean all log files

Forums: 

Hello!

It is possible to clean Bleachbit all log files on Ubuntu ? I clean as sudo all files from /var/log. My system still works great.

Thank you!

The main problem with cleaning Linux logs is Linux will let you do it, but unless you send a signal to each logger (Apache, Samba, etc), they will continue writing to the deleted log, so the data will be lost. Because of all the different Linux distributions and versions, this is extremely tedious to code. There is some specific log cleaning support in the BleachBit bonus pack. It doesn't solve the problem above. If you just want to delete everything and ignore the same problem, you could write a simple cleaner using CleanerML

---
Andrew, lead developer