This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C25FB1.255A24F0 Content-Type: text/plain; charset="iso-8859-1" hello, my syslog-ng server is runnig fine, but a have little problem with logrotate. please take a look... syslog-ng writes the log files into "/var/log/syslog-ng/" in this directory for each host a subdirectory is created e.g.: /var/log/syslog-ng/10.10.10.2/ /var/log/syslog-ng/10.10.10.3/ usw... in /etc/logrotate.conf i made the following entry: /var/log/syslog-ng/* { rotate 5 daily size=500M postrotate /usr/bin/killall -HUP syslog-ng endscript compress } but this dont work! i have to specify the whole path to the log files: /var/log/syslog-ng/10.10.10.3/* ist there a way to rotate a directory with its subdirectory?? thanks in advance manfred ------_=_NextPart_001_01C25FB1.255A24F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">question about logrotate (little offtopic ;) hello,
my syslog-ng server is runnig fine, but a have little = problem with logrotate. please take a look...
syslog-ng writes the log files into = "/var/log/syslog-ng/"
in this directory for each host a subdirectory is = created e.g.:
/var/log/syslog-ng/10.10.10.2/
/var/log/syslog-ng/10.10.10.3/
usw...
in /etc/logrotate.conf i made the following = entry:
/var/log/syslog-ng/* {
rotate = 5
= daily
= size=3D500M
= postrotate
&nb= sp; &nb= sp; /usr/bin/killall -HUP syslog-ng
= endscript
= compress
}but this dont work! i have to specify the whole path = to the log files:
/var/log/syslog-ng/10.10.10.3/*ist there a way to rotate a directory with its = subdirectory??
thanks in advance
------_=_NextPart_001_01C25FB1.255A24F0--
manfred