summaryrefslogtreecommitdiffstats
path: root/testing/syslog-ng/syslog-ng-log.std
blob: 6488fe7e3d0171f93e811a57ea544d7b0e47a2e9 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# ---------------------------------------------------------------------------------
# Default syslog-ng logs; Do not edit this file!
# append log with line on a file: syslog-ng-log.<package>
# ---------------------------------------------------------------------------------
# order matters if you use "flags(final);" to mark the end of processing in a
# "log" statement
# these rules provide the same behavior as the commented original syslogd rules

# auth,authpriv.*                 /var/log/auth.log
log {
        source(s_all);
        filter(f_auth);
        destination(df_auth);
};

# kern.*                          -/var/log/kern.log
log {
        source(s_all);
        filter(f_kern);
        destination(df_kern);
};

# mail.*                          -/var/log/mail.log
log {
        source(s_all);
        filter(f_mail);
        destination(df_mail);
};
# *.=debug;
#         auth,authpriv.none;\
#         news.none;mail.none     -/var/log/debug
log {
        source(s_all);
        filter(f_debug);
        destination(df_debug);
};
# *.=info;*.=notice;*.=warn;\
#         auth,authpriv.none;\
#         mail,news.none          -/var/log/messages
log {
        source(s_all);
        filter(f_messages);
        destination(df_messages);
};
# error ... emergency             /var/log/error.log
log {
        source(s_all);
        filter(f_at_least_err);
        destination(df_error);
};
# *.emerg                         *
log {
        source(s_all);
        filter(f_emerg);
        destination(du_all);
};