Differences

This shows you the differences between two versions of the page.

Link to this comparison view

repo:logrotate [2012/07/27 16:45]
giancarlo created
repo:logrotate [2012/07/27 16:47] (current)
giancarlo
Line 1: Line 1:
 ====== LogRotate tomcat and apache ====== ====== LogRotate tomcat and apache ======
  
-/etc/logrotate.d/apache2+  * **/etc/logrotate.d/apache2**
  
 +<WRAP prewrap center>
 +<code>
 /var/log/apache2/*.log { /var/log/apache2/*.log {
  daily  daily
Line 18: Line 20:
  endscript  endscript
 } }
 +</code>
 +</WRAP>
  
 +  * **/etc/logrotate.d/tomcat6**
  
-/etc/logrotate.d/tomcat6 +<WRAP prewrap center> 
- +<code>
 /var/log/tomcat6/catalina.out {  /var/log/tomcat6/catalina.out { 
  copytruncate   copytruncate 
Line 31: Line 35:
  size 5M   size 5M 
 } }
 +</code> 
 +</WRAP>
  
  
  
 
 
repo/logrotate.txt · Last modified: 2012/07/27 16:47 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki