Hi, There are various appenders for log4j which could be used, e.g: http://logging.apache.org/log4j/2.x/manual/appenders.html#SyslogAppender http://www.rsyslog.com/tag/log4j/ Probably you can find some appender/formatter which writes in JSON if that's better. Otherwise if it is not possible to change the configuration on the application side, nxlog can be set up to read from the logfiles.
Regards, Botond On Tue, 11 Jun 2013 11:34:54 +0200 Mika Wanadoo <[email protected]> wrote: > Hi, > > could you tell me if it's possible to use NXLOG as a log4j listener ? > The need is : > > - configure log4j in java env with a socketappender that will talk to nxlog > - make nxlog listening to log4j info > - maybe some pattern matching > - forward event to logstash for example > > Do you think I could do that with im_tcp ? > Or is a log4j dedicated input planned for future release ? > > Regards, > Mikael ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ nxlog-ce-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
