rep
04.01.05, 11:10
Hi,
ich stelle auf meinen SuSE 9.2 System komisch dinge fest. es gibt logdateien die ich in der httpd.conf für einzelne VirtualHost Dateien festlege, nun werden die elendig groß und heißten EINTRAG_IN_CONF.1 .2 .3 und so weiter. Sogar die /etc/init.d/apache2 Skripts gibt es auf einmal doppelt
apache2.1 apache2.2 apache2.3
kann sich das jemand erklären, hier mal die einträge im logrotate
www:/etc # less logrotate.conf
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# uncomment these to switch compression to bzip2
#compresscmd /usr/bin/bzip2
#uncompresscmd /usr/bin/bunzip2
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
#/var/log/wtmp {
# monthly
# create 0664 root utmp
# rotate 1
#}
# system-specific logs may be also be configured here.
und folgendes im include Verzeichnis "packages", die "apache2" ist Standard, die habe ich nicht angefasst.
/daten/hosting/package*/logs/*.log
compress
dateext
maxage 365
rotate 99
size=+4096k
notifempty
missingok
create 600 root root
postrotate
/etc/init.d/apache2 reload
endscript
}
Also das ist irgendwie komisch, kann dazu jemand was sagen? Ne idee, was braucht ihr sonst noch?
ich stelle auf meinen SuSE 9.2 System komisch dinge fest. es gibt logdateien die ich in der httpd.conf für einzelne VirtualHost Dateien festlege, nun werden die elendig groß und heißten EINTRAG_IN_CONF.1 .2 .3 und so weiter. Sogar die /etc/init.d/apache2 Skripts gibt es auf einmal doppelt
apache2.1 apache2.2 apache2.3
kann sich das jemand erklären, hier mal die einträge im logrotate
www:/etc # less logrotate.conf
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# uncomment these to switch compression to bzip2
#compresscmd /usr/bin/bzip2
#uncompresscmd /usr/bin/bunzip2
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
#/var/log/wtmp {
# monthly
# create 0664 root utmp
# rotate 1
#}
# system-specific logs may be also be configured here.
und folgendes im include Verzeichnis "packages", die "apache2" ist Standard, die habe ich nicht angefasst.
/daten/hosting/package*/logs/*.log
compress
dateext
maxage 365
rotate 99
size=+4096k
notifempty
missingok
create 600 root root
postrotate
/etc/init.d/apache2 reload
endscript
}
Also das ist irgendwie komisch, kann dazu jemand was sagen? Ne idee, was braucht ihr sonst noch?