ShibSP & remote syslog

Yannick Béot yannick.beot at gmail.com
Fri Oct 26 08:12:16 EDT 2012


Should have something like:
log4j.appender.MySyslog=SyslogAppender
log4j.appender.MySyslog.syslogName=syslog
log4j.appender.MySyslog.syslogHost=localhost
log4j.appender.MySyslog.facility=local4
log4j.appender.MySyslog.portNumber=514

On Fri, Oct 26, 2012 at 1:00 PM, Alex Mihičinac <alexm at arnes.si> wrote:

> 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
>
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20121026/b4a72dff/attachment.html 


More information about the users mailing list