CLI sessions and syslog

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


In message <c1dd32e40806190141v2ab8884du59cf753a134f84df at mail.gmail.com>, "anda
n andan" writes:
>Hello.
>
>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
>annoying.

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