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 src/main/resources/logback-spring.xml
Furthermore, you can set the log granularity in the application YAML/src/main/resources/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
Since the generated API is a Spring Boot application, you can also change the logging level using environment variables:
LOGGING_LEVEL_IO_OPENLEGACY=info\debug\warn\error
