Alert on certain error like 503

Mattias Geniar mattias at
Fri Jun 17 11:50:09 CEST 2011

> What we do is to write to syslog:
> C{ #include <syslog.h> }C
> ...
> sub vcl_error {
> 	C{ syslog(LOG_ERR, "Varnish vcl_error"); }C
> 	...
> 	return(deliver);
> }

Have you had a chance to test how that relates to performance when you
start to get a lot of errors being thrown? I can imagine pushing every
error to syslog can become a bottleneck when it reaches a certain


More information about the varnish-misc mailing list