Add Tomcat Access Log's fileDateFormat property

Closes gh-8396
This commit is contained in:
srichard
2017-03-02 20:56:57 +01:00
committed by Stephane Nicoll
parent b5fc68dfed
commit 0ddaca57fb
3 changed files with 48 additions and 0 deletions

View File

@@ -196,6 +196,7 @@ content into your application; rather pick only the properties that you need.
server.tomcat.accesslog.buffered=true # Buffer output such that it is only flushed periodically.
server.tomcat.accesslog.directory=logs # Directory in which log files are created. Can be relative to the tomcat base dir or absolute.
server.tomcat.accesslog.enabled=false # Enable access log.
server.tomcat.accesslog.file-date-format=yyyy-MM-dd # Customized date format in the access log file name.
server.tomcat.accesslog.pattern=common # Format pattern for access logs.
server.tomcat.accesslog.prefix=access_log # Log file name prefix.
server.tomcat.accesslog.rename-on-rotate=false # Defer inclusion of the date stamp in the file name until rotate time.