-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log4j.properties updates from entrypoint.sh #12
Comments
No, currently, the log4j.properties can't be updated similarly to _MP_ variables. I like your idea to update entrypoint.sh to support modifying log4j.properties in a similar way to how we modify mirth.properties. We would definitely welcome any pull requests if you'd like to provide those changes. I'd recommend using _L4J_ as a prefix to those variables instead of _MP_. |
I'm not sure if this would suffice, but you could do this using volumes, mapping an edited log4j.properties from the host to the container. Here's an example compose:
|
I would like to add that we are looking for this exact functionality. I think we are just looking for one env variable to set logging level. I tried doing this by overriding The volume thing is definitely an option but its not as ideal as having env variable to set. Maybe another way I am thinking of trying until this gets addressed is doing this in deploy script of some channel. I will let you know if I have any luck here. |
Update have confirmed this works:
but would still like this issue to be addressed. |
Can the log4j.properties values be updated in a similar way to the _MP__ variables? This would require an update to the entrypoint.sh file which would be better here than in a local repository. If I work on the changes and get them ready would that be acceptable?
Thanks
Paul.
The text was updated successfully, but these errors were encountered: