Hi Pieter,

On Wed, Nov 21, 2018 at 12:10:43AM +0100, PiBa-NL wrote:
> I did notice there is one line regarding the 'double logging' I have got
> configured though which I'm not sure is supposed to happen, its seems to be
> because i'm having both stdout and :514 logging should that not be
> possible?:
> ***  h1    0.0 debug|[ALERT] 323/233813 (57777) : sendmsg()/writev() failed
> in logger #2: Socket operation on non-socket (errno=38)
> 
> Partial config:
>   global
>     log stdout format raw daemon
>     log :1514 local0

I'm not sure what you mean with "double logging". Above you're asking to
send the log both to stdout and to local UDP port 1514. The sendmsg/writev
error very likely is caused by the UDP one if nothing is listening locally.
But I'm a bit surprised by the error since it's supposed to be a socket.
I'll try to reproduce in case I messed up with the FDs when implementing
this.

Thanks!
Willy

Reply via email to