UKGovLD / registry-core

Linked data registry - core application and example UI
https://github.com/UKGovLD/registry-core/wiki
Apache License 2.0
23 stars 9 forks source link

logging configuration #157

Closed tendrie closed 2 years ago

tendrie commented 2 years ago

Hi,
I would like to ask how and where we can configure log levels for ldregistry. We want to set to DEBUG but cannot find the file (log4J properties?) We tried to configure the one in Tomcat, it doesn't seem to work. Thank you

der commented 2 years ago

Hi, With the change to use log4j2 the logging configuration is now in src/main/resources/log4j2.xml For debug purposes you should be able to unpack the war file and then repack that with a changed config rather than have to do a full source rebuild.

tendrie commented 2 years ago

Thank you for your answer. It's working now