I have set the logging level in the spring boot application in application.yml as: logging.level.com.Myapplicationname=DEBUG
The application is packaged and deplo
As alexbt said, you cannot use both properties at the same time (logging.path and logging.file) because Spring Boot will ignore both.
But you can use logging.file with a path encoded.
Example: logging.file=/path/to/logs/your_logfile.log