java logging spring-boot

spring-boot default log location

In a spring-boot application I can specify a custom log file with

java -jar spring-boot-app.jar --logging.file=/home/ubuntu/spring-boot-app.log

But if I don’t specify one, where does it go?

I couldn’t find it in any of the following folders:


I do not have spring-boot-starter-logging or any additional logging dependencies.

I was hoping to have something similar to catalina.out since the default configuration runs an embedded Tomcat:

INFO 10374 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8100 (http)