Closed iammeken closed 2 years ago
Hi. Logs are currently emitted using std.log. They should appear in the shared memory log and you can use tools such as varnishlog to get them.
Logging takes place in a few places, but the main entry is here (for the 6.0 branch): https://github.com/comotion/VSF/blob/6.0/vcl/handlers.vcl#L29.
Let me know if that answers your question.
Thank you for answering me!
So there is no a thing like varnishncsa.log, for fail2ban to scan and block repeated bad ip addresses?
You could set up varnishncsa to extract anything from the shared log so it should be possible, but you will need to implement it.
Thank you for the hint, I will study it.
Where to find log file of VSF?
I may need fail2ban to scan it. :)
Thank you!