Skip to content

Suppress noisy JacksonCodeGenerator INFO log messages during build - #51447

Closed
mabartos wants to merge 1 commit into
keycloak:mainfrom
mabartos:KC-51446
Closed

Suppress noisy JacksonCodeGenerator INFO log messages during build#51447
mabartos wants to merge 1 commit into
keycloak:mainfrom
mabartos:KC-51446

Conversation

@mabartos

@mabartos mabartos commented Aug 5, 2026

Copy link
Copy Markdown
Member

Final output:

Updating the configuration and installing your custom providers, if any. Please wait.
2026-08-05 09:19:20,356 WARN  [org.keycloak.common.Profile] (build-41) Deprecated features identity-brokering-api:v1, twitter-broker:v1 enabled by default. Check the upgrading guide for steps to use later versions if available.
2026-08-05 09:19:22,039 INFO  [org.freedesktop.dbus.connections.transports.TransportBuilder] (build-27) Using transport dbus-java-transport-native-unixsocket for address unix:path=/var/run/dbus/system_bus_socket
2026-08-05 09:19:25,329 INFO  [io.quarkus.deployment.QuarkusAugmentor] (main) Quarkus augmentation completed in 9720ms
Running the server in development mode. DO NOT use this configuration in production.
2026-08-05 09:19:29,786 INFO  [org.infinispan.CONTAINER] (main) ISPN000974: Virtual threads support: enabled
2026-08-05 09:19:31,097 INFO  [org.hibernate.orm.jdbc.batch] (JPA Startup Thread) HHH100501: Automatic JDBC statement batching enabled (maximum batch size 32)
2026-08-05 09:19:31,145 WARN  [org.keycloak.common.Profile] (main) Deprecated features identity-brokering-api:v1, twitter-broker:v1 enabled by default. Check the upgrading guide for steps to use later versions if available.
2026-08-05 09:19:32,202 INFO  [org.keycloak.quarkus.runtime.storage.database.liquibase.QuarkusJpaUpdaterProvider] (main) Initializing database schema. Using changelog META-INF/jpa-changelog-master.xml
2026-08-05 09:19:36,461 INFO  [org.infinispan.CONTAINER] (main) ISPN000556: Starting user marshaller 'org.infinispan.commons.marshall.ImmutableProtoStreamMarshaller'
2026-08-05 09:19:36,888 INFO  [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_294181, Site name: null, Cluster name: ISPN
2026-08-05 09:19:37,050 INFO  [org.keycloak.quarkus.runtime.storage.database.jpa.DatabaseIndexChecker] (db-index-checker) Running database index checker
2026-08-05 09:19:37,090 INFO  [org.keycloak.models.workflow.WorkflowsEventListenerFactory] (main) Workflow runner task scheduled: next execution at 21:19:37, then every PT12H
2026-08-05 09:19:37,226 INFO  [org.keycloak.services] (main) KC-SERVICES0050: Initializing master realm
2026-08-05 09:19:39,066 INFO  [org.keycloak.services.resources.KeycloakApplication] (main) Bootstrap completed in 7.919 seconds
2026-08-05 09:19:39,211 INFO  [io.quarkus] (main) Keycloak 999.0.0-SNAPSHOT on JVM (powered by Quarkus 3.38.0) started in 13.710s. Listening on: http://localhost:8080
2026-08-05 09:19:39,211 INFO  [io.quarkus] (main) Profile dev activated. 
2026-08-05 09:19:39,211 INFO  [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, keycloak, narayana-jta, opentelemetry, rest, rest-jackson, smallrye-context-propagation, vertx]
^C2026-08-05 09:19:44,751 INFO  [com.arjuna.ats.jbossatx] (Shutdown thread) ARJUNA032014: Stopping transaction recovery manager
2026-08-05 09:19:44,864 INFO  [io.quarkus] (Shutdown thread) Keycloak stopped in 1.139s

No logs like:

[INFO] [io.quarkus.resteasy.reactive.jackson.deployment.processor.JacksonCodeGenerator] Skipping generation of reflection-free Jackson serializer for class org.keycloak.representations.idm.authorization.AuthorizationSchema because it contains the unsupported Jackson annotation com.fasterxml.jackson.databind.annotation.JsonDeserialize
[INFO] [io.quarkus.resteasy.reactive.jackson.deployment.processor.JacksonCodeGenerator] Skipping generation of reflection-free Jackson serializer for class org.keycloak.representations.idm.authorization.ResourceRepresentation because it contains the unsupported Jackson annotation com.fasterxml.jackson.databind.annotation.JsonDeserialize
...

@keycloak/cloud-native Could you please check this small PR? Thanks!

Closes keycloak#51446

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Copilot AI balanced review requested due to automatic review settings August 5, 2026 07:21
@mabartos
mabartos requested review from a team as code owners August 5, 2026 07:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Suppresses noisy Quarkus Jackson code-generation INFO messages during Keycloak builds.

Changes:

  • Sets JacksonCodeGenerator logging to WARN.

@michalvavrik michalvavrik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before this is merged:

I'd like to discuss this further in linked issue and Quarkus before we apply it. Or we need a follow-up issue, in which case we can proceed with this one.

I don't agree with non-goals of the linked issue, but maybe when we discuss this further there, I'll simply discover I am wrong. Thanks.

@michalvavrik michalvavrik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked and it seems Quarkus will do it for us, so this PR is not required considering the fix should be backported quarkusio/quarkus#55868 ?

Not that it wasn't very good point, thanks very much!

@mabartos

mabartos commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

@michalvavrik Nice, thanks for the additional info! Closing

@mabartos mabartos closed this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suppress noisy JacksonCodeGenerator INFO log messages during build

3 participants