Complete the code to set the log pattern to include timestamp and log level.
logging.pattern.console=[1]The pattern %d{yyyy-MM-dd HH:mm:ss} %-5level - %msg%n includes the timestamp and log level in the log output.
Complete the code to configure the log pattern to show thread name and logger name.
logging.pattern.console=[1]The pattern %d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n shows time, thread, level, logger name, and message.
Fix the error in the log pattern to correctly display the log level padded to 5 characters.
logging.pattern.console=%d{HH:mm:ss} [1] - %msg%nThe correct syntax to pad the log level to 5 characters is %-5level.
Fill the blanks to create a log pattern that shows date, thread, log level, and message.
logging.pattern.console=[1] [2] [3] - %msg%n
The pattern starts with date %d{yyyy-MM-dd HH:mm:ss} and thread name %thread, followed by level and message.
Fill all three blanks to create a log pattern with logger name, log level, and message.
logging.pattern.console=%d{HH:mm:ss} [[1]] [2] - [3]%nThe correct pattern uses %logger{36} for logger name, %-5level for padded log level, and %msg for the message.
Note: Spring Boot's default pattern does not support toUpperCase() directly.