logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Send StatusLogger output to Syslog appender
Date Mon, 27 Jul 2015 17:13:34 GMT
Ralph,

I fine point I missed, thank you.

Would it be too weird to provide a bridge StatusListener that forwards to
an Appender or to all of Log4j?

Gary

On Mon, Jul 27, 2015 at 10:09 AM, Ralph Goers <ralph.goers@dslextreme.com>
wrote:

> Gary,
>
> This is the StatusLogger. Messages are via StatusListeners. The only one
> we provide is the StatusConsoleListener.  If a user wants to do something
> else they need to implement their own StatusListener and register it.
>
> Ralph
>
> > On Jul 27, 2015, at 9:52 AM, Gary Gregory <garydgregory@gmail.com>
> wrote:
> >
> > You need to configure log4j: Please see
> > https://logging.apache.org/log4j/2.x/manual/configuration.html
> >
> > Gary
> >
> > On Mon, Jul 27, 2015 at 3:17 AM, David KOCH <dkoch@ezakus.com> wrote:
> >
> >> Hello,
> >>
> >> How do I configure log4j2 to send StatusLogger output to a Syslog
> appender?
> >>
> >> Our application runs on several instances and logs to a remote instance
> for
> >> centralised logging, however status logging only appears in the logs on
> >> each instance.
> >>
> >> Thank you,
> >>
> >> /David
> >>
> >
> >
> >
> > --
> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> > Java Persistence with Hibernate, Second Edition
> > <http://www.manning.com/bauer3/>
> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> > Spring Batch in Action <http://www.manning.com/templier/>
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message