bernard deromme
bernard deromme

Reputation: 151

Spring boot and logging location

I use spring boot 1.3.7.

In my application.properties I have

logging.file=syste.log
logging.path=/home/apps/log

My jar file is located in /home/apps

At runtime, logging file is located where apps is running (/home/apps).

Why the value in logging.path is not used?

Upvotes: 2

Views: 1302

Answers (1)

kryger
kryger

Reputation: 13181

According to the documentation specifying both logging.file and logging.path is not supported (or handled), you should specify the full path in the logging.file setting:

logging.file=/home/apps/log/syste.log

Upvotes: 2

Related Questions