ports/sysutils/puppetserver6/files/patch-ext__config__logback.xml
Romain Tartière a5dd49995d Update to 6.0.1
Release notes:
https://puppet.com/docs/puppetserver/6.0/release_notes.html#puppet-server-601

While here, regenerate patches with make makepatch, and fix warnings in the
logs by pointing the server to ruby multi_json gem (quick fix for now, we will
have to improve this in the future).

With hat:	puppet
2018-10-03 16:58:29 +00:00

17 lines
976 B
XML

--- ext/config/logback.xml.orig 2018-09-18 17:16:33 UTC
+++ ext/config/logback.xml
@@ -6,12 +6,11 @@
</appender>
<appender name="F1" class="ch.qos.logback.core.rolling.RollingFileAppender">
- <!-- TODO: this path should not be hard-coded -->
- <file>/var/log/puppetlabs/puppetserver/puppetserver.log</file>
+ <file>/var/log/puppetserver/puppetserver.log</file>
<append>true</append>
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- rollover daily -->
- <fileNamePattern>/var/log/puppetlabs/puppetserver/puppetserver-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
+ <fileNamePattern>/var/log/puppetserver/puppetserver-%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
<!-- each file should be at most 200MB, keep 90 days worth of history, but at most 1GB total-->
<maxFileSize>200MB</maxFileSize>
<maxHistory>90</maxHistory>