Ok, yes. Turns out that I was able to get Confluence logging directly to 
Graylog using the gelfj appender:

https://github.com/t0xa/gelfj

Stash uses logback, so I was able to do something similar with this 
appender:

https://github.com/pukkaone/logback-gelf

On Wednesday, March 11, 2015 at 3:16:47 AM UTC-7, Jochen Schalanda wrote:
>
> Hi Peter,
>
> I haven't done this myself, but from what I know it should be as easy as 
> dropping one of the log4j GELF appenders (
> https://github.com/pstehlik/gelf4j or https://github.com/t0xa/gelfj) into 
> the class path (maybe you have to adjust the class path settings in the 
> JAVA_OPTS environment variable or in the start scripts for the Atlassian 
> products) and add the corresponding appender to the log4j configuration 
> (see 
> https://confluence.atlassian.com/display/DOC/Configuring+Logging#ConfiguringLogging-properties
>  
> for an example with Confluence).
>
> It would be great if you could post your results with this on the mailing 
> list!
>
>
> Cheers,
> Jochen
>
> On Wednesday, 11 March 2015 01:22:12 UTC+1, Peter Loron wrote:
>>
>> We have several Atlassian products in use (Confluence, Stash, JIRA), and 
>> I would like to get the logs into Graylog. I see that there is a Log4J GELF 
>> appender. Anybody know if I can easily add that appender to our app 
>> installs?
>>
>> Thanks!
>>
>

-- 
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