From adfb92443f4a6d9dc96551974094adfb3bfe2cf0 Mon Sep 17 00:00:00 2001 From: John Dickinson Date: Fri, 8 Oct 2010 14:23:20 -0500 Subject: [PATCH] updated stats saio docs to create logs with the appropriate permissions --- doc/source/overview_stats.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/overview_stats.rst b/doc/source/overview_stats.rst index 985635ba08..6364de4611 100644 --- a/doc/source/overview_stats.rst +++ b/doc/source/overview_stats.rst @@ -96,9 +96,9 @@ Running the stats system on SAIO #. Add the following to the end of `/etc/syslog-ng/syslog-ng.conf`:: # Added for swift logging - destination df_local1 { file("/var/log/swift/proxy.log"); }; - destination df_local1_err { file("/var/log/swift/proxy.error"); }; - destination df_local1_hourly { file("/var/log/swift/hourly/$YEAR$MONTH$DAY$HOUR"); }; + destination df_local1 { file("/var/log/swift/proxy.log" owner() group()); }; + destination df_local1_err { file("/var/log/swift/proxy.error" owner() group()); }; + destination df_local1_hourly { file("/var/log/swift/hourly/$YEAR$MONTH$DAY$HOUR" owner() group()); }; filter f_local1 { facility(local1) and level(info); }; filter f_local1_err { facility(local1) and not level(info); };