0

We have a webserver (Debian Stretch) that hosts multiple domains. Unfortunately, our developers tend to use debugging (adding code that writes something in a log file) and forget about it, even after it no longer serves a purpose.

Of course, the free disk space continuously shrinks over time but as the logs still are not that big, a simple "du" won't be able to find it. Also, a cronjob that mails a daily report of directory sizes isn't useful if you don't know what directory to look at.

So, does anyone know a better solution?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.