How to Configure the Log Level
The OpenLegacy API is a Spring Boot API supporting logback. You can customize the logback file according to your needs. It is located under /build/resources/main/logback-spring.xml
Furthermore, you can set the log granularity in the application YAML(/build/resources/main/application.yml).
logging.level:
io.openlegacy: <LOG LEVEL>
The default log format is JSON. If you want to see the logs in plain-logs format, you will need to set the following spring profile in the YAML:
spring:
profiles:
active: plain-logs
Updated 8 months ago