We have multiple Java based Web application and we are using following 
loggers

a) logback

b) log4j

c) custom logger


Application which are using  logback, we are using moocar/logback-gelf 
appender for sending message to graylog2 server

Application which are using  log4j, we are using graylog2/log4j2-gelf for 
sending message to graylog2 server

We want to send log files generated from last 30 days in graylog2. (before 
this appender was added in applications)
Is there any utility available for this
Following are our options for this
a) Write servlet based utility which take list of files as parameters and 
pattern for reading log records from log file. (assuming all records in log 
files will have same pattern)
    This utility will read those files and convert it into GELF and send it 
to graylog2 server 
*    Is this right approach or there is better way of achieving this *

We have some application which uses custom logger.
To send current log message should we create appender for this similar 
logback-gelf 
appender ?
Please let us know the standard approach above scenarios


-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to