in reply to Setting syslog layout with log4perl

I think you might want:
log4perl.appender.SYSLOG.layout = PatternLayout log4perl.appender.SYSLOG.ConversionPattern = %-5p %C - %m%n
or
log4perl.appender.SYSLOG.layout = SimpleLayout

Replies are listed 'Best First'.
Re^2: Setting syslog layout with log4perl
by neilwatson (Priest) on Aug 27, 2014 at 19:39 UTC
Re^2: Setting syslog layout with log4perl
by ogr (Novice) on Oct 18, 2014 at 05:08 UTC
    Your first option is close but I think that the ".ConversionPattern" comes after "layout", so the second line should read:
    log4perl.appender.SYSLOG.layout.ConversionPattern = %-5p %C - %m%n