Changing log level

31 views
Skip to first unread message

Harsh Agarwal

unread,
Nov 14, 2024, 5:52:04 AM (7 days ago) Nov 14
to dcm4che
I have started recently on dcm4chee-arc using docker images and apparently new to docker as well, I am making changes to the logging.properties and changing the log level from INFO to DEBUG and  when I open it again after restarting the docker it changes to initial INFO level. Please let me know what can be done.

I have tried following:
1. Docker Volume for logging.properties:
Create a docker volume to store the logging.properties file outside the container.
Mount the volume to the container at the location where it expects to find the logging.properties file (e.g., /opt/dcm4chee/conf).
Modify the logging.properties file within the volume, changing the log level to DEBUG.
Restart the docker container.

2. Environment Variable for Log Level:
Some docker images allow setting environment variables to override specific configurations.
Refer to the documentation of your specific dcm4chee-arc docker image to see if it supports setting the log level via an environment variable.
If supported, set the appropriate environment variable (e.g., DCM4CHEE_ARC_LOG_LEVEL) to DEBUG before starting the container.

Gunter Zeilinger

unread,
Nov 14, 2024, 6:28:09 AM (7 days ago) Nov 14
to dcm4che
You may change log levels using the Wildfly Admin Console typically listening and mapped out to https://docker-host:9993

Harsh Agarwal

unread,
Nov 15, 2024, 6:10:35 AM (6 days ago) Nov 15
to dcm...@googlegroups.com

Thank you for your valuable input. Your guidance helped me successfully change the log level. I encountered a minor issue with Keycloak redirection, but I've resolved it now.

Thanks & Regards,
Harsh Agarwal


--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dcm4che/9eded67c-daa1-475a-b221-2c01365455d1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages