ibm-messaging / mq-jms-spring

Components to assist MQ JMS integration with Spring frameworks
Apache License 2.0
189 stars 102 forks source link

How to configure the output directory for log files? #103

Closed sw-tracker closed 8 months ago

sw-tracker commented 10 months ago

When an error occurs, I see log files stored on the top level folder of my spring boot application. I would like to be able to configure this, so that all log files get stored in a folder that I can gitignore. How can I configure this using spring boot properties?

The log files are called something like mqjms.log.0, etc.

ibmmqmet commented 9 months ago

There's no specific Spring Boot property.

But this is how you set it for any Java program: https://www.ibm.com/docs/en/ibm-mq/9.3?topic=problems-logging-errors-mq-classes-jms