Complete the code to set the log level for a package in application.properties.
logging.level.[1]=DEBUGTo configure logging for a specific package, use the package name as the key after logging.level. in application.properties.
Complete the code to set the log level to WARN for the package 'org.springframework.web'.
logging.level.[1]=WARNTo configure logging for the web package of Spring Framework, use org.springframework.web as the package name.
Fix the error in the YAML configuration to set DEBUG level for 'com.example.service'.
logging:
level:
[1]: DEBUGIn YAML, the package name is used as the key under logging.level to set the log level for that package.
Fill both blanks to configure package-level logging in application.properties for 'com.app' at INFO and 'com.app.db' at ERROR.
logging.level.[1]=INFO logging.level.[2]=ERROR
Use the exact package names to set different log levels for each package in application.properties.
Fill all three blanks to create a YAML snippet setting log levels: 'com.app' to DEBUG, 'com.app.api' to INFO, and 'com.app.api.v1' to WARN.
logging:
level:
[1]: DEBUG
[2]: INFO
[3]: WARNEach package name is used as a key under logging.level in YAML to set its log level.