inconsistent socklog args

David Birdsong <[email protected]> Thu, 16 Jul 2015 05:20:40 +0000
Newsgroups gmane.comp.misc.pape.general
Message-ID <CABJfL5h7_B2=0JSanRuW_AU=nire2rRAEm_OnKKQJ96pykr1LQ@mail.gmail.com>
--20cf303635450bb0b7051af73c10
Content-Type: text/plain; charset=UTF-8

Hi,

I've got a log parsing pipeline that socklog is the originator for. I've
noticed that these two invocations of socklog differ in how it "converts
syslog  facility and priority information to names".

over tcp with tcpsvd invoking socklog appears to ignore -R
https://gist.github.com/davidbirdsong/a6c108ec88412b1f908c

socklog over udp respects -R
https://gist.github.com/davidbirdsong/1a2abfcf6314f700960c

...my goal is to pass the raw, unmodified txt to svlogd.

Is this a mis-feature, or have I misunderstood the settings?

--20cf303635450bb0b7051af73c10
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I&#39;ve got a log parsing pipeline=
 that socklog is the originator for. I&#39;ve noticed that these two invoca=
tions of socklog differ in how it &quot;converts=C2=A0 syslog=C2=A0 facilit=
y and priority information to names&quot;.=C2=A0</div><div><br></div><div>o=
ver tcp with tcpsvd invoking socklog appears to ignore -R</div>







<div><a href=3D"https://gist.github.com/davidbirdsong/a6c108ec88412b1f908c"=
>https://gist.github.com/davidbirdsong/a6c108ec88412b1f908c</a><br></div><d=
iv><br></div><div>socklog over udp respects -R</div><div><a href=3D"https:/=
/gist.github.com/davidbirdsong/1a2abfcf6314f700960c">https://gist.github.co=
m/davidbirdsong/1a2abfcf6314f700960c</a><br></div><div><br></div><div>...my=
 goal is to pass the raw, unmodified txt to svlogd.</div><div><br></div><di=
v>Is this a mis-feature, or have I misunderstood the settings?</div>







</div>

--20cf303635450bb0b7051af73c10--