Author: doogie
Date: Tue Apr 14 21:06:28 2009
New Revision: 764953
URL:
http://svn.apache.org/viewvc?rev=764953&view=revLog:
Rotate console log daily, and keep 60 of them.
Added:
ofbiz/trunk/debian/ofbiz-framework.logrotate
Modified:
ofbiz/trunk/debian/rules
Added: ofbiz/trunk/debian/ofbiz-framework.logrotate
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.logrotate?rev=764953&view=auto==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.logrotate (added)
+++ ofbiz/trunk/debian/ofbiz-framework.logrotate Tue Apr 14 21:06:28 2009
@@ -0,0 +1,9 @@
+/var/log/ofbiz/console.log {
+ daily
+ rotate 60
+ compress
+ delaycompress
+ postrotate
+ /etc/init.d/ofbiz restart
+ endscript
+}
Modified: ofbiz/trunk/debian/rules
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/debian/rules?rev=764953&r1=764952&r2=764953&view=diff==============================================================================
--- ofbiz/trunk/debian/rules (original)
+++ ofbiz/trunk/debian/rules Tue Apr 14 21:06:28 2009
@@ -99,6 +99,7 @@
dh_installinit -N ofbiz-framework
dh_installinit -p ofbiz-framework --name ofbiz -r --no-start
dh_installchangelogs
+ dh_installlogrotate
dh_installdebconf
dh_installdocs
dh_installdeb