1 |
slords |
1.1 |
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/00filenames 1970-01-01 01:00:00.000000000 +0100 |
2 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/00filenames 2013-02-25 22:04:18.140359061 +0100 |
3 |
|
|
@@ -0,0 +1,9 @@ |
4 |
|
|
+{ |
5 |
|
|
+ $messages = "/var/log/messages"; |
6 |
|
|
+ $bootlog = "/var/log/boot.log"; |
7 |
|
|
+ $secure = "/var/log/secure"; |
8 |
|
|
+ $cron = "/var/log/cron"; |
9 |
|
|
+ $spooler = "/var/log/spooler"; |
10 |
|
|
+ $maillog = "/var/log/maillog"; |
11 |
|
|
+ ""; |
12 |
|
|
+} |
13 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/10modules 1970-01-01 01:00:00.000000000 +0100 |
14 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/10modules 2013-02-25 22:36:51.648699733 +0100 |
15 |
|
|
@@ -0,0 +1,8 @@ |
16 |
|
|
+{ |
17 |
|
|
+# provides support for local system logging (e.g. via logger command) |
18 |
|
|
+} |
19 |
|
|
+$ModLoad imuxsock |
20 |
|
|
+{ |
21 |
|
|
+# provides kernel logging support (previously done by rklogd) |
22 |
|
|
+} |
23 |
|
|
+$ModLoad imklog |
24 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/30global 1970-01-01 01:00:00.000000000 +0100 |
25 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/30global 2013-02-25 22:37:14.767252119 +0100 |
26 |
|
|
@@ -0,0 +1,4 @@ |
27 |
|
|
+{ |
28 |
|
|
+# Use default timestamp format |
29 |
|
|
+} |
30 |
|
|
+$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat |
31 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/40console 1970-01-01 01:00:00.000000000 +0100 |
32 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/40console 2013-02-25 22:09:05.512276487 +0100 |
33 |
|
|
@@ -0,0 +1,5 @@ |
34 |
|
|
+{ |
35 |
|
|
+ my $e = $rsyslog{LogAll2VT6} || 'no'; |
36 |
|
|
+ $OUT = ($e eq 'yes') ? |
37 |
|
|
+ "# Log everything to /dev/tty6\n*.*\t/dev/tty6" : ""; |
38 |
|
|
+} |
39 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/50info 1970-01-01 01:00:00.000000000 +0100 |
40 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/50info 2013-02-27 19:38:49.825772600 +0100 |
41 |
|
|
@@ -0,0 +1,6 @@ |
42 |
|
|
+{ |
43 |
|
|
+# Log anything (except mail) of level info or higher. |
44 |
|
|
+# Don't log private authentication messages! |
45 |
|
|
+} |
46 |
|
|
+*.info;mail.none;authpriv.none;cron.none { "${messages}" } |
47 |
|
|
+ |
48 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/55authpriv 1970-01-01 01:00:00.000000000 +0100 |
49 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/55authpriv 2013-02-27 19:46:24.277262587 +0100 |
50 |
|
|
@@ -0,0 +1,4 @@ |
51 |
|
|
+{ |
52 |
|
|
+# The authpriv file has restricted access. |
53 |
|
|
+} |
54 |
|
|
+authpriv.* { "${secure}" } |
55 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/60mail 1970-01-01 01:00:00.000000000 +0100 |
56 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/60mail 2013-02-27 19:37:23.874121513 +0100 |
57 |
|
|
@@ -0,0 +1,4 @@ |
58 |
|
|
+{ |
59 |
|
|
+# Log all the mail messages in one place. |
60 |
|
|
+} |
61 |
|
|
+mail.* -{ "${maillog}" } |
62 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/65cron 1970-01-01 01:00:00.000000000 +0100 |
63 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/65cron 2013-02-27 19:40:56.591851567 +0100 |
64 |
|
|
@@ -0,0 +1,5 @@ |
65 |
|
|
+{ |
66 |
|
|
+# Log cron stuff |
67 |
|
|
+} |
68 |
|
|
+cron.* { "${cron}" } |
69 |
|
|
+ |
70 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/70emerg 1970-01-01 01:00:00.000000000 +0100 |
71 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/70emerg 2013-02-27 19:41:53.616737055 +0100 |
72 |
|
|
@@ -0,0 +1,5 @@ |
73 |
|
|
+{ |
74 |
|
|
+# Everybody gets emergency messages |
75 |
|
|
+} |
76 |
|
|
+*.emerg * |
77 |
|
|
+ |
78 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/75news 1970-01-01 01:00:00.000000000 +0100 |
79 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/75news 2013-02-27 19:42:45.572943625 +0100 |
80 |
|
|
@@ -0,0 +1,4 @@ |
81 |
|
|
+{ |
82 |
|
|
+# Save news errors of level crit and higher in a special file. |
83 |
|
|
+} |
84 |
|
|
+uucp,news.crit { "${spooler}" } |
85 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/80local7 1970-01-01 01:00:00.000000000 +0100 |
86 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/rsyslog.conf/80local7 2013-02-27 19:44:04.938757921 +0100 |
87 |
|
|
@@ -0,0 +1,4 @@ |
88 |
|
|
+{ |
89 |
|
|
+# Save boot messages also to boot.log |
90 |
|
|
+} |
91 |
|
|
+local7.* { "${bootlog}" } |
92 |
|
|
--- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysconfig/rsyslog/10rsyslogOptions 1970-01-01 01:00:00.000000000 +0100 |
93 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysconfig/rsyslog/10rsyslogOptions 2013-02-25 22:46:38.410290439 +0100 |
94 |
|
|
@@ -0,0 +1,1 @@ |
95 |
|
|
+SYSLOGD_OPTIONS="-c 5" |