Is it safe to delete varnish.log?

2 posts / 0 new
Last post
Is it safe to delete varnish.log?

Hi. I've got an issue with my Varnish setup.

The log file varnish.log has grown to 18G and is taking up all the remaining space on my HDD.

Is this file safe to delete?

Are they any repercussions to doing this?




Is that you are created the logfile ? By default varnishlog doesn't log in a file. To log connexion, and so on, you have to use varnishlog binary.

But 18G is a very huge file, I think there is no rotation log process. If you don't take any risk use the distro rotate process or just kill the varnishlog process and restart it.