Quarkus logging to Sumo Logic

66 views
Skip to first unread message

Tom Gregory

unread,
Jun 21, 2021, 2:14:14 PM6/21/21
to Quarkus Development mailing list
Hi All,

I am trying to figure out how to send our logging output to Sumo Logic.  

I am using Quarkus to create AWS lambdas that are compiled into native images.

As I understand it, Quarkus uses the JBoss logging manager.  I can't seem to find an appender that will allow me to redirect to Sumo.  

Sumo has Log4j appenders, but I'm not sure that will work in the Quarkus ecosystem.

My preference is not to continue logging to CloudWatch and then getting the logs.  I'd like to log directly.

Has anyone been successful in configuring this?

Thanks,
Tom

Max Rydahl Andersen

unread,
Jun 23, 2021, 7:31:37 AM6/23/21
to Tom Gregory, Quarkus Development mailing list

Currently there is no "easy" answer - what you can do is look at Quarkus Logging to Sentry (https://quarkus.io/guides/logging-sentry)
is implemented and make similar one for Sumo Logic.

Mid term we are discussing options for ways to at least allow JBoss logging manager to relay to log4j/logback/etc.
Until now we've been hesitant to that as we just know it will be slow(er) and take up unnecessary resources to do
as these log frameworks are not yet aware of build time vs runtime parts.

Long term though a specific extension will be best as can avoid overhead - but yes; we wanna find intermediate steps
to at least let users use "appenders" easily - just be aware it will come with an overhead compared to not do it :)

/max

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/f39b5d58-98cd-4017-b965-db1353d85271n%40googlegroups.com.

Tom Gregory

unread,
Jun 23, 2021, 4:21:19 PM6/23/21
to Max Rydahl Andersen, Quarkus Development mailing list
Thanks Max,

I'll look at logging to Sentry, but I think we will probably look at ingesting CloudWatch logs in AWS instead.

Thanks for your help.

Thanks,
Tom

Reply all
Reply to author
Forward
0 new messages