# Parsing Spring Boot log lines

## First lines of the baseline
2026-11-30T09:00:00.000+05:30  INFO 4121 --- [shop] [nio-8080-exec-6] c.a.shop.CatalogController               : GET /api/products/884 200 in 13 ms
2026-11-30T09:00:01.843+05:30  INFO 4121 --- [shop] [nio-8080-exec-6] c.a.shop.OrderController                 : Order 77525 placed by customer c-519 total=8093.82
2026-11-30T09:00:03.687+05:30  INFO 4121 --- [shop] [nio-8080-exec-4] c.a.shop.CatalogController               : GET /api/products/476 200 in 35 ms

## An ERROR with a stack trace: one event, several physical lines
2026-11-30T11:12:30.421+05:30 ERROR 4121 --- [shop] [nio-8080-exec-8] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Connection is not available, request timed out after 30000ms.
java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
	at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:686)
	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:179)

## Counts
baseline: 3947 physical lines, 3857 events, 0 orphan lines
target:   2196 physical lines, 1524 events, 0 orphan lines
that ERROR event: level=ERROR logger=HikariPool continuation lines=3
exception line: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.

## The same line without the application name bracket
parsed: level=INFO thread=nio-8080-exec-1 logger=OrderController message=Order 42 placed
