IronTap container logging
Created , Updated
Logging
The logging behavior of IronTap can be adjusted by mounting a custom log4j2.xml
file on the target path:
/opt/mainstorconcept/irontap/log4j2.xml
.
Example
Assuming that your command line looks similar to this:
CODE
docker run \
--name irontap \
--mount type=bind,source=/host/path/to/application.conf,target=/opt/mainstorconcept/irontap/application.conf,readonly \
registry.gitlab.com/ziris/irontap:latest-kafka-otel
Change it to this:
CODE
docker run \
--name irontap \
--mount type=bind,source=/host/path/to/application.conf,target=/opt/mainstorconcept/irontap/application.conf,readonly \
--mount type=bind,source=/host/path/to/log4j2.xml,target=/opt/mainstorconcept/irontap/log4j2.xml,readonly \
registry.gitlab.com/ziris/irontap:latest-kafka-otel