ShibSP & remote syslog
Alex Mihičinac
alexm at arnes.si
Fri Oct 26 07:00:51 EDT 2012
On 25. okt. 2012, at 23:43, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
>> could someone point me to documentation about how to redirect Shibboleth
>> Service Provider logger to (remote) syslog.
>
> I don't have any examples, hopefully somebody that worked out how can post one or add it to the wiki.
>
> The explicit answer is that it's up this source file, so from that one can determine what properties log4cpp's code is looking for.
>
> http://svn.shibboleth.net/view/utilities/cpp-log4shib/trunk/src/PropertyConfiguratorImpl.cpp?revision=83&view=markup
>
> Based on that, it looks like the RollingFileAppender label becomes "SyslogAppender" and the properties to set are:
>
> syslogName
> syslogHost
> facility
> portNumber
Thanks for quick response. I have this in syslog.logger now:
log4j.appender.syslogName=syslog
log4j.appender.syslogHost=localhost
log4j.appender.facility=local4
log4j.appender.portNumber=514
…but it is not working. :-( Do I need to change all .logger setting files or it should be enough to do it in syslog.logger?
Best regards,
Alex
More information about the users
mailing list