Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/trac/templates/logrotate.erb

Issue 29329593: Issue 2772 - Establish log rotation for Trac logs (Closed)
Patch Set: Created Nov. 2, 2015, 11:31 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/trac/manifests/init.pp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/trac/templates/logrotate.erb
diff --git a/modules/trac/templates/logrotate.erb b/modules/trac/templates/logrotate.erb
new file mode 100644
index 0000000000000000000000000000000000000000..28d197368e0758f4e0950cd8595b3342c970b015
--- /dev/null
+++ b/modules/trac/templates/logrotate.erb
@@ -0,0 +1,8 @@
+/home/trac/<%= @environment %>/log/trac.log {
+ daily
+ rotate 30
+ compress
+ missingok
+ nodateext
+}
+
« no previous file with comments | « modules/trac/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld