Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

logfile endpoint in Spring Boot

I read Spring Boot Actuator documentation and saw logfile endpoint mentioned there which would really come in handy.

However this endpoint is not registered in my app and I have no idea how to make it available. What is needed here?

like image 923
ps-aux Avatar asked Nov 26 '15 12:11

ps-aux


1 Answers

In order to enable this feature, one of these two params need to be set:

  • logging.file.name
  • logging.file.path

Logging configuration

After that the endpoint should be enabled by default.

like image 129
Gergely Bacso Avatar answered Oct 06 '22 09:10

Gergely Bacso