Customizing APL Logging for ECDs (4.2)
If you want to customize the APL logging when using the log.* APL functions, described in https://infozone.atlassian.net/wiki/spaces/UEPE4D/pages/107448190, you can configure this in your Kubernetes cluster.
To customize the APL logging:
Create a ConfigMap in your Kubernetes cluster.
This config map should contain your desired logging configuration.
Only the Log4j version 1 syntax is supported.
Add an
extraConfigMapMounts
configuration for your ConfigMap in your ECD specification as described in https://infozone.atlassian.net/wiki/spaces/UEPE4D/pages/233276240 , and theapl.custom.log.config
system property.
The value of the apl.custom.log.config
system property must point to the same path as the ConfigMap file is mounted under.
You can inspect the EC Pod specification by running the following kubectl
command:
kubectl exec -it <EC Pod> -- ls -la /mnt/apl-logging