Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Slf4J instead of Jboss Logger #24377

Closed
estet90 opened this issue Mar 17, 2022 · 3 comments
Closed

Using Slf4J instead of Jboss Logger #24377

estet90 opened this issue Mar 17, 2022 · 3 comments
Labels
kind/enhancement New feature or request triage/invalid This doesn't seem right

Comments

@estet90
Copy link

estet90 commented Mar 17, 2022

Description

Now Jboss Logger is used everywhere in the Quarkus libraries. If I want to use a Log4J2 in my projects and send logs through it, for example, TCP, Quarkus logs do not get into the log collection system. Is it possible to do it by analogy with Spring, using Slf4J in the libraries, so that the developer himself can determine the implementation?

Implementation ideas

No response

@estet90 estet90 added the kind/enhancement New feature or request label Mar 17, 2022
@geoand
Copy link
Contributor

geoand commented Mar 17, 2022

As is mentioned in the docs, you can use slf4j as the logging API.
What Quarkus mandates is the use of JBoss Logging Manager as the implementation - i.e. you can't use Logback or Log4j2.

@geoand geoand closed this as completed Mar 17, 2022
@geoand geoand added the triage/invalid This doesn't seem right label Mar 17, 2022
@estet90
Copy link
Author

estet90 commented Mar 17, 2022

As is mentioned in the docs, you can use slf4j as the logging API. What Quarkus mandates is the use of JBoss Logging Manager as the implementation - i.e. you can't use Logback or Log4j2.

You did not understand me. I want to forward quarkus logs such as "service start logs" to log4j2, and then I could send them anywhere.

@geoand
Copy link
Contributor

geoand commented Mar 17, 2022

What'l does forward logs to Log4j2 mean?
As I explained, we won't be supporting it.

We do however have various transport mechanisms for JBoss Logmanager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request triage/invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants