logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: Chainsaw log-parsing classes
Date Fri, 19 Jan 2018 16:04:37 GMT
If you application is running somewhere and Mongo is running somewhere else I would recommend
using the Flume Appender to send the events to a Flume node that is running where Mongo is.
Then have Flume write the events to Mongo.

Ralph

> On Jan 19, 2018, at 8:32 AM, Joseph Husby <husby024@umn.edu> wrote:
> 
> Hello!
> 
> 
> 
> I’m working on a project where we need to take log4j2 output and (offline)
> load it into a Mongo database.  We can't use a mongo appender because the
> database is not available where the software is running.  We could use the
> log4j2's JsonLayout to have an easily parsable log format, but would prefer
> not to as it makes the logs less human readable (especially timestamps).
> 
> 
> Obviously Chainsaw has the capability to parse standard log4j output, but
> is any of that exposed so we could use those classes in our application?
> We don’t need the GUI component.
> 
> 
> 
> Thank you for any help you’re able to provide!
> 
> 
> ~ Joe ~
> 
> p.s. resending this after subscribing to the list as I don't see my
> original message in the archive, so assuming it was rejected.  Sorry if I'm
> double messaging!



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message