You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
When I configure a logger in Quarkus 3.15.2 + quarkus-logging-splunk 4.0.2 we see some inconsistent behavior.
When setting it up per the docs (as far as I see), we get error logs on stderr from Quarkus stating LogManager error of type GENERIC_FAILURE: Handler with name 'MyLogger' is linked to a category but not configured. However, it works fine: the logs are ending up in Splunk as expected.
When I add a similarly named Console logger, the error goes away - but then it sends all logging to Splunk, also the logs that just should go to the console.
To just randomly try a few things, I've tried a downgrade to 3.3.2 but that doesn't matter. Adding use-parent-handlers: false neither makes a difference.
I suspect it's a limitation of Quarkus when named handlers are created from an extension using NamedLogHandlersBuildItem, as the core log handlers don't use this mechanism.
I'll report an issue upstream.
Thanks for the swift response! This is work related and I was enjoying my weekend, hence my slower reply. For me this closes the issue assuming it will at some point work without spurious logging, but I’ll leave it up to you as maintainers to either close this or keep it open for tracking.
Hi there,
When I configure a logger in Quarkus 3.15.2 + quarkus-logging-splunk 4.0.2 we see some inconsistent behavior.
When setting it up per the docs (as far as I see), we get error logs on stderr from Quarkus stating
LogManager error of type GENERIC_FAILURE: Handler with name 'MyLogger' is linked to a category but not configured.
However, it works fine: the logs are ending up in Splunk as expected.When I add a similarly named Console logger, the error goes away - but then it sends all logging to Splunk, also the logs that just should go to the console.
It seems Quarkus is not picking up on the fact that the splunk logger has registered a named logger and the LogManager error is wrong?
The text was updated successfully, but these errors were encountered: