[Klone-users] Warning in syslog about klog.c
thomas fossati
tho at koanlogic.com
Tue Jan 27 07:26:55 EST 2009
Hi Mickael,
On Jan 27, 2009, at 12:20 PM, Mickael Auger wrote:
> I don't specify the "LOG_LOCAL" in kloned.conf.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> log
> {
> type file
> file.basename /tmp/klonedlog
> }
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> But I have a lot of time these warnings in my default log file (not
> "/tmp/klonedlog") :
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> <132>Jan 27 08:57:36 2009 syslog: [wrn][534:klog.c:
> 437:klog_facility] bad facility value '(null)'
> <132>Jan 27 08:57:37 2009 syslog: [wrn][534:klog.c:
> 461:klog_args_check] threshold unspecified: assuming lowest possible
> (DEBUG)
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> If I add "syslog.facility LOG_LOCAL0" in "log" section, the first
> warning disappears. This parameter is not optionnal ?
yes it should, I'm fixing it right now.
> However the second warning is always present. Is it normal ?
> I haven't found the cause of the last warnings.
Ok, I'll change this to dbg() instead of warn().
I've attached the diff file, ciao and thanks.
t.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klog.diff
Type: application/octet-stream
Size: 1967 bytes
Desc: not available
Url : http://koanlogic.com/pipermail/klone-users/attachments/20090127/5f9ef56e/klog.obj
-------------- next part --------------
More information about the klone-users
mailing list