# A log file written by Spring Boot 4.2.0 itself (spring.application.name=shop) ## The first three lines, and the ERROR with its first stack-trace lines 2026-12-01T23:53:34.953+05:30 INFO 12412 --- [shop] [main] o.a.maven.surefire.booter.ForkedBooter : Starting ForkedBooter v3.5.4 using Java 25.0.5.1 with PID 12412 (started by root in /tmp/work/java-ai-agents/log-anomaly) 2026-12-01T23:53:34.975+05:30 INFO 12412 --- [shop] [main] o.a.maven.surefire.booter.ForkedBooter : No active profile set, falling back to 1 default profile: "default" 2026-12-01T23:53:37.369+05:30 INFO 12412 --- [shop] [main] o.s.boot.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-12-01T23:53:38.561+05:30 ERROR 12412 --- [shop] [main] com.ankurm.shop.OrderController : Failed to process order 42 java.lang.IllegalStateException: quantity must be greater than 0 at com.ankurm.logs.RealSpringBootLogTest.theParserReadsWhatSpringBootActuallyWrites(RealSpringBootLogTest.java:23) ~[test-classes/:na] ## Parsed 96 physical lines, 11 events, 0 orphan lines ERROR event: logger=OrderController message=Failed to process order 42 continuation lines=85 exception line: java.lang.IllegalStateException: quantity must be greater than 0