|
|
|
|
|
À̸§ : È£¼® (220.¢½.198.240) |
|
³¯Â¥ : 2008-05-02 22:58:30 |
|
Á¦¸ñ : ¾ÆÆÄÄ¡ ·Î±× ·ÎÅ×ÀÌÆ® °É±â |
|
#### /etc/logrotate.d/apache
/usr/local/apache/logs/access_log {
rotate 5
size=5M
postrotate
/usr/bin/killall -HUP httpd 2> /dev/null || true
endscript
}
/usr/local/apache/logs/error_log {
rotate 5
size=5M
postrotate
/usr/bin/killall -HUP httpd 2> /dev/null || true
endscript
}
| |
|
|
È£¼® |
|
|
|
# This script rotates Oracle alert.log
# This procedure needs for monitoring purpose
#
/opt/oracle/admin/ora9/bdump/alert_*.log {
noolddir
notifempty
rotate 24
dateext
weekly
compress
create 0640 oracle oinstall
}
#
/opt/oracle/product/920/network/log/listener.log {
weekly
rotate 10
copytruncate
delaycompress
compress
notifempty
missingok
} |
09-07-06 22:36
220.¢½.198.178
|
|
|