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
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.