/[packages]/cauldron/snort/current/SOURCES/snort.logrotate
ViewVC logotype

Contents of /cauldron/snort/current/SOURCES/snort.logrotate

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30270 - (show annotations) (download)
Fri Jan 21 20:13:20 2011 UTC (11 years, 5 months ago) by dlucio
File size: 519 byte(s)
imported package snort
1
2 # (oe) catch time stamped logs like (/var/log/snort/snort.log.1110567861),
3 # use something like "-L /var/log/snort/snort.log" to prevent that.
4
5 /var/log/snort/*.log /var/log/snort/*.log.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
6 /var/log/snort/*/*.log /var/log/snort/*/*.log.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
7 /var/log/snort/alert /var/log/snort/*/alert {
8 daily
9 rotate 7
10 missingok
11 compress
12 postrotate
13 /etc/rc.d/init.d/snort condrestart 1>/dev/null || true
14 endscript
15 }

  ViewVC Help
Powered by ViewVC 1.1.28