From the documentation:
If you want to write log files in addition to the console output you
need to set a logging.file or logging.path property
Spring boot considers either file or path property, not both.
This page has all combinations of file and path properties.