File: logrotate

package info (click to toggle)
sauce 0.9.1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 476 kB
  • sloc: tcl: 4,363; sh: 186; makefile: 129
file content (27 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/var/log/sauce/dbreasons.log /var/log/sauce/notice.log /var/log/sauce/error.log /var/log/sauce/reject.log /var/log/sauce/fatal.log {
	rotate 7
	create 0644 mail mail
	weekly

	missingok
	compress
	lastaction
		if test -x /usr/sbin/sauceadmin; then
			sauceadmin reopenlogs
		fi
	endscript
}

/var/log/sauce/debug.log {
       rotate 7
       create 0640 mail mail
       daily

       missingok
       compress
	lastaction
		if test -x /usr/sbin/sauceadmin; then
			sauceadmin reopenlogs
		fi
	endscript
}