-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
LogManager FORMAT_FAILURE on application startup #12615
Comments
I wonder if it could be related to jboss-logging/slf4j-jboss-logging@1204d43 . I will downgrade in the meantime. /cc @jamezp |
We experience the same problem, but with 1.8.2.Final.
For my understanding, toString() on myAvroObject should be called, which returns JSON.
Where m2mDeviceId is the first field of the resulting JSON. I have tested this with 1.5.2, 1.60, 1.7.1, 1.8.0 and 1.8.1 and it works fine. |
@skasten I suspect downgrading slf4j-jboss-logging to 1.2.0.Final will fix your issue. It was upgraded in 1.8.2.Final. |
@gsmet Yes, with 1.2.0.Final it works. |
/cc @dmlloyd too Interesting comment is there: #12615 (comment) . |
I just pushed 1.8.3.Final with the downgrade. |
The reason main reason is this is caused by having abstractions over abstractions :) Since If there is a slf4j-jboss-logmanager project which would delegate directly to jboss-logmanager. However it would need a minor update now that I look at it. There could be a reason that I don't recall that slf4j-jboss-logging is being used. |
I created jboss-logging/slf4j-jboss-logging#15 . |
@gsmet I think the proper solution will be to switch to using https://github.com/jboss-logging/slf4j-jboss-logmanager/. I made some updates yesterday and can cut a release if it's something you want for Quarkus. |
@gsmet @jamezp I am looking at, a solution on switching to https://github.com/jboss-logging/slf4j-jboss-logmanager/, as sugested by @jamezp. I think i have something working local, there is a changed required to the slf4j-jboss-logmanager, and updating the required dependencies in quarkus. |
@jamezp I have created jboss-logging/slf4j-jboss-logmanager#10, to fix the issue I have seen. |
Describe the bug
Relates to apache/camel-quarkus#1891.
Since upgrading to Quarkus 1.9.0.CR1, I noticed errors on some of the camel-quarkus integration tests. It seems to be related to logging. In our camel-jira integration test, there's a point where Camel is trying to log the name & value of a configuration property. It results in:
The source of the config value is here. It looks like the '{' & '}' characters are possibly causing the problem.
I wonder if the
slf4j-jboss-logging
upgrade to 1.2.1.Final is the problem? If force a downgrade back to 1.2.0.Final, the problem does not occur.I did a quick scan of the Quarkus CI build log and noticed a similar exception being thrown in
SentryLoggerDisabledTest
.The tests still pass ok, there's just the ugly stack trace when the app starts up.
Expected behavior
The desired log message should be printed without errors.
Actual behavior
Logging fails with
FORMAT_FAILURE
.To Reproduce
mvn clean install -DskipTests -Dquarkus.build.skip -Denforce=false -T1C
To replicate the error in the linked issue:
Same error cause but different stack trace (Note: You'll need Docker running for this one):
The text was updated successfully, but these errors were encountered: