Skip to content

Commit

Permalink
enable rotate
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyijq committed Apr 2, 2023
1 parent d5bf0a4 commit ff722ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distribution/conf/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ management.metrics.export.influx.enabled=false
server.tomcat.accesslog.enabled=true

### file name pattern, one file per hour
server.tomcat.accesslog.rotate=true
server.tomcat.accesslog.file-date-format=.yyyy-MM-dd-HH
### The access log pattern:
server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %D %{User-Agent}i %{Request-Source}i
Expand Down

0 comments on commit ff722ae

Please sign in to comment.