Skip to content

Commit d812d6e

Browse files
committed
(PE-13485) Implement a consistent request logging format
Prior to this commit puppetserver used a different request logging format than puppetdb and console-services. After this commit the request logging will be of the suggested formatting for all trapper-keeper projects.
1 parent b13df2a commit d812d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/ext/config/request-logging.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
33
<file>/var/log/puppetlabs/puppetserver/puppetserver-access.log</file>
44
<encoder>
5-
<pattern>%h %l %u %user %date "%r" %s %b %h %a %localPort %D</pattern>
5+
<pattern>%h %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" %D</pattern>
66
</encoder>
77
</appender>
88
<appender-ref ref="FILE" />

0 commit comments

Comments
 (0)