Skip to content

Commit

Permalink
#143 : Fixed LogFileWebEndpoint log file location issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gazbert committed Feb 27, 2022
1 parent 1325b0e commit e681ed6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ management.endpoints.web.exposure.exclude=*
management.security.enabled=true

# Must be set to location of logfile for management.endpoint.logfile to work.
logging.file.path=./logs/bxbot.log
# See: https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html#actuator.endpoints
# See: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.logging.file-output
logging.file.name=./logs/bxbot.log

# Max number of lines from the logfile to be returned by the REST API /runtime/logfile endpoint.
# If the number of lines in the logfile exceeds this limit, the file content will truncated.
Expand Down

0 comments on commit e681ed6

Please sign in to comment.