diff options
Diffstat (limited to 'app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-logfile.patch')
-rw-r--r-- | app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-logfile.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-logfile.patch b/app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-logfile.patch new file mode 100644 index 000000000000..5e1015cf67dd --- /dev/null +++ b/app-metrics/carbonapi-booking/files/carbonapi-booking-0.3.0-logfile.patch @@ -0,0 +1,14 @@ +- don't log to stdout +- change log to be under subdir so ebuild can manage its permissions + +--- carbonapi-0.3.0/config/carbonapi.yaml ++++ carbonapi-0.3.0/config/carbonapi.yaml +@@ -130,7 +130,7 @@ + - X-Real-Ip + - X-Webauth-User + loggerConfig: +- outputPaths: ["stdout", "/var/log/carbonapi.log"] ++ outputPaths: ["/var/log/carbonapi/carbonapi.log"] + level: "info" + encoding: "json" + |