[keycloak-user] Changing logging format?

Tim Ward tim.ward at origamienergy.com
Mon Feb 18 10:57:38 EST 2019


We're using Keycloak in Kubernetes using the jboss/keycloak Docker image.

We want to import the logs into Elasticsearch, but the default logging format is not useful because the date is missing (only the time is included).

How can I change the logging format to include the date?

Preferably without having to build a custom Docker image, so by passing command line parameters and/or mounting files into the container?

(It would be nice to get rid of the colour codes from the log messages as well, but that's not a big deal because I can strip them off later.)

Tim Ward

The contents of this email and any attachment are confidential to the intended recipient(s). If you are not an intended recipient: (i) do not use, disclose, distribute, copy or publish this email or its contents; (ii) please contact the sender immediately; and (iii) delete this email. Our privacy policy is available here: https://origamienergy.com/privacy-policy/. Origami Energy Limited (company number 8619644); Origami Storage Limited (company number 10436515) and OSSPV001 Limited (company number 10933403), each registered in England and each with a registered office at: Ashcombe Court, Woolsack Way, Godalming, GU7 1LQ.


More information about the keycloak-user mailing list