In Spring Boot, log formatting configuration controls how log messages appear. The application loads a pattern from configuration files like application.properties. This pattern defines the order and style of log parts such as timestamp, log level, logger name, and message. When a log event happens, Spring Boot applies this pattern to format the message before outputting it to console or file. For example, a pattern '%d{HH:mm:ss} %-5level %logger{36} - %msg%n' shows time, level, logger, and message in that order. If the pattern changes, the log output changes accordingly. This process repeats for every log event until the application stops.