curityio / idsvr-helm

This repository contains the Curity Identity Server helm chart source code.
Apache License 2.0
10 stars 21 forks source link

Expose log4j.xml to be able to change appender layout to JSONLayout #85

Open slivkamiro opened 5 months ago

slivkamiro commented 5 months ago

I would like to change the log format to json as suggested by following articles:

https://curity.io/resources/learn/log-to-elasticsearch/#deploy-the-curity-identity-server https://curity.io/resources/learn/logging-best-practices/#log-formats

is there a way to do that using this helm chart?

anestos commented 5 months ago

You can use curity.admin.extraVolumeMounts - curity.admin.extraVolumes and curity.runtime.extraVolumeMounts - curity.runtime.extraVolumes to mount a different log4j2.xml file in /opt/idsvr/etc/log4j2.xml