CLI sessions and syslog

Poul-Henning Kamp phk at
Fri Jun 20 09:12:12 CEST 2008

In message <c1dd32e40806190141v2ab8884du59cf753a134f84df at>, "anda
n andan" writes:
>It is possible to disable sysloging for the CLI sessions, or at least,
>change the priority or facility. ?

Not without hacking the code, search for "syslog" in mgt_cli.c.

>We are using Varnish (trunk) with LVS,  pinging varnish to test if the
>instance is alive, logging these sessions every 5 seconds is very

They are sent on LOG_INFO which is just one level above LOG_DEBUG, so
they shouldn't be spit on the console or anything ?

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list