Reputation: 6572
logging.file=logs/spring-boot-logging.log
It work localy on my machine but where can I find this file on remote server?
Upvotes: 1
Views: 852
Reputation: 30448
The path is relative to the current directory of your processes. It is best to use a more generic place such as /var/log/<your-app>/spring-boot-logging.log
Upvotes: 2
Reputation: 77226
It will depend wildly on the specifics of your server configuration. Set the environment variable LOGGING_FILE
or the system property logging.file
to an appropriate value on your server.
Upvotes: 1