I have searched the internet for some hours now.
I cannot find this trivial thing.
I am using a Windows PC.
I am using Spring boot and using all the defaults.
I want to log to a file and am using YAML application format.
My application.ymlis in src/main/resources.
Its contents are exactly those:
spring:
logging:
file: logs/app.log
pattern:
console: "%d [%t] %-5level %logger{36} - %msg%n"
file: "%d [%t] %-5level %logger{36} - %msg%n"
level:
com.m2evorah: DEBUG
org.springframework: DEBUG
org.hibernate: DEBUG
I can see the logging normally in console within Eclipse IDE, but then when I go and search my PC for an app.log file, I cannot find it. So, even if it goes according to classpath etc, I should still be able to see it in my searches. What is wrong with my yml file?