Scott, Thanks, this was the nudge that I needed. I now have log4j going to my syslogger.
Here is the config that I have in log4j.xml:
<appender name="syslog" class="org.apache.log4j.net.SyslogAppender">
<param name="Facility" value="USER"/>
<param name="SyslogHost" value="10.10.10.10"/>
<param name="Threshold" value="INFO"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{MMM dd HH:mm:ss} MYAPP:
%-5p %m%n"/>
</layout>
</appender>
Good luck to any who find this in the archives in the future.
--
Charles H. Leggett
Information Security Architect
[email protected]
On May 31, 2012, at 2:38 PM, Scott Battaglia wrote:
> I've never actually tried this but Log4j does have a syslog:
> http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/SyslogAppender.html
>
>
>
> On Thu, May 31, 2012 at 2:30 PM, Charles H. Leggett <[email protected]> wrote:
> CAS Users,
>
> I am sure that this has been asked before but, I couldn't find a reference in
> the list archives …
>
> I would like to send my catalina.out (auth logs) to a remote syslog server.
>
> I cannot find a way to configure Inspektr or anything else to accomplish this.
>
> Can someone give me a nudge in the right direction?
>
> Thanks in advance.
>
> --
> Charles H. Leggett
> Information Security Architect
> University of Georgia
>
>
>
>
>
>
> --
> You are currently subscribed to [email protected] as: [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
signature.asc
Description: Message signed with OpenPGP using GPGMail
