2015-03-09 3:51 GMT+01:00 David Lang <[email protected]>:

> On Mon, 9 Mar 2015, Thomas D. wrote:
>
>  Thank you David. Now I understand what you meant with "hostname".
>>
>> That's something Rainer should answer. Maybe a new regression in logger?
>>
>
No. You tell logger *explicitely to use rfc3164 format*. If you do so,
logger simply thinks you really want that, and so it writes in rfc3164
format. Now, this format is not the format the normally is spoken on the
log socket, and so the problem that you see appears. If you drop the
--rfc3164 option, everything will work fine. If you absoultely want rfc3164
format, you need to use git master branch rsyslog and instruct imuxsock to
use the regular parser chain. To do so, set "useSpecialParser" to off, see
here:

http://www.rsyslog.com/doc/master/configuration/modules/imuxsock.html

Note that when you do this and do not change the rest of the log messages,
you'll probably get other problems. But these options are really for folks
who have a very special need and using non-standard formats on the system
log socket *is* dangerous.

HTH
Rainer


>
> I believe so
>
> my version
> ii  util-linux
> 2.25.1-3ubuntu4 amd64        Miscellaneous system utilities
>
>
>
>  As said, I am using the latest util-linux git version including Rainer's
>> patches.
>>
>>
>> -Thomas
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com/professional-services/
>> What's up with rsyslog? Follow https://twitter.com/rgerhards
>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
>> DON'T LIKE THAT.
>>
>>  _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to