Skip to content

Instantly share code, notes, and snippets.

@dasniko
Created January 9, 2021 14:30
Show Gist options
  • Save dasniko/f115aa71ed49a63fda69c2a7db476121 to your computer and use it in GitHub Desktop.
Save dasniko/f115aa71ed49a63fda69c2a7db476121 to your computer and use it in GitHub Desktop.
Log in JSON format for Keycloak/Wildfly server.
embed-server --server-config=standalone.xml --std-out=echo
/subsystem=logging/json-formatter=JSON/:add
/subsystem=logging/console-handler=CONSOLE/:write-attribute(name=named-formatter,value=JSON)
stop-embedded-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment