When you have your own log4j2 file,
There are two ways:
1. create a new docker image by copying the log4j2 file to the base image
2. when you start the docker container, mount the log4j2 file
Then you can start the process by setting the log4j2 file.