File: config

package info (click to toggle)
log2mail 0.2.5.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 240 kB
  • ctags: 188
  • sloc: cpp: 1,209; sh: 84; makefile: 80; perl: 16
file content (20 lines) | stat: -rw-r--r-- 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# sample config file for log2mail
# comments start with '#'
# LHS: regular expression which must be quoted
# RHS: mail address of the one who is to be notified
[global]
MsgSendTime=20
MsgResendTime=50
MaxMsgLines=7
FromAdr=log2mail@localhost
#[/var/log/messages]
#"root login"=root
#"sshd"=root
[logf]
# Anfhrungszeichen nicht vergessen!
"^h[a-z]?o$"=root
"This is a pattern"=root
"Hallo"=root
[log2]
"^[0-9]abz$"=root
"^[0-9]+$"=root