Antwort: RE: [syslog-ng]syslog-ng and my console
Franz.Bettag/SOFTWERK/DE%BIG@big.de
Franz.Bettag/SOFTWERK/DE%BIG@big.de
Tue, 22 Oct 2002 15:59:35 +0200
This is a multipart message in MIME format.
--=_alternative 004D34D0C1256C5A_=
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
options { long=5Fhostnames(off); sync(0); };
source src { unix-stream("/dev/log"); internal(); file("/proc/kmsg"=20
log=5Fprefix("kernel: ")); };
destination authlog { file("/var/log/auth.log" owner("root") group("adm")=20
perm(0640)); };
destination syslog { file("/var/log/syslog" owner("root") group("adm")=20
perm(0640)); };
destination cron { file("/var/log/cron.log" owner("root") group("adm")=20
perm(0640)); };
destination daemon { file("/var/log/daemon.log" owner("root") group("adm") =
perm(0640)); };
destination kern { file("/var/log/kern.log" owner("root") group("adm")=20
perm(0640)); };
destination lpr { file("/var/log/lpr.log" owner("root") group("adm")=20
perm(0640)); };
destination mail { file("/var/log/mail.log" owner("root") group("adm")=20
perm(0640)); };
destination user { file("/var/log/user.log" owner("root") group("adm")=20
perm(0640)); };
destination uucp { file("/var/log/uucp.log" owner("root") group("adm")=20
perm(0640)); };
destination mailinfo { file("/var/log/mail.info" owner("root")=20
group("adm") perm(0640)); };
destination mailwarn { file("/var/log/mail.warn" owner("root")=20
group("adm") perm(0640)); };
destination mailerr { file("/var/log/mail.err" owner("root") group("adm")=20
perm(0640)); };
destination debug { file("/var/log/debug" owner("root") group("adm")=20
perm(0640)); };
destination messages { file("/var/log/messages" owner("root") group("adm") =
perm(0640)); };
destination iptables { file("/var/log/firewall.log" owner("root")=20
group("adm") perm(0640)); };
destination emergency { file("/var/log/emergency.log" owner("root")=20
group("adm") perm(0640)); };
filter f=5Fiptables { match("FW->*"); };
filter f=5Fauthpriv { facility(auth, authpriv); };
filter f=5Fsyslog { not facility(auth, authpriv); };
filter f=5Fcron { facility(cron); };
filter f=5Fdaemon { facility(daemon); };
filter f=5Fkern { facility(kern); };
filter f=5Flpr { facility(lpr); };
filter f=5Fmail { facility(mail); };
filter f=5Fuser { facility(user); };
filter f=5Fuucp { facility(uucp); };
filter f=5Fdebug { not facility(auth, authpriv, news, mail); };
filter f=5Fmessages { level(info .. warn)
and not facility(auth, authpriv, cron, daemon, mail, news); };
filter f=5Femergency { level(emerg); };
filter f=5Finfo { level(info); };
filter f=5Fnotice { level(notice); };
filter f=5Fwarn { level(warn); };
filter f=5Fcrit { level(crit); };
filter f=5Ferr { level(err); };
log { source(src); filter(f=5Fiptables); destination(iptables); };
log { source(src); filter(f=5Fauthpriv); destination(authlog); };
log { source(src); filter(f=5Fsyslog); destination(syslog); };
log { source(src); filter(f=5Fcron); destination(cron); };
log { source(src); filter(f=5Fdaemon); destination(daemon); };
log { source(src); filter(f=5Fkern); destination(kern); };
log { source(src); filter(f=5Flpr); destination(lpr); };
log { source(src); filter(f=5Fmail); destination(mail); };
log { source(src); filter(f=5Fuser); destination(user); };
log { source(src); filter(f=5Fuucp); destination(uucp); };
log { source(src); filter(f=5Fmail); filter(f=5Finfo); destination(mailinfo=
);=20
};
log { source(src); filter(f=5Fmail); filter(f=5Fwarn); destination(mailwarn=
);=20
};
log { source(src); filter(f=5Fmail); filter(f=5Ferr); destination(mailerr);=
};
log { source(src); filter(f=5Fdebug); destination(debug); };
log { source(src); filter(f=5Fmessages); destination(messages); };
log { source(src); filter(f=5Femergency); destination(emergency); };
log { source(src); filter(f=5Fiptables); destination(iptables); };
Mit freundlichen Gr=FC=DFen
BIG-SPIELWARENFABRIK
Dipl.-Ing. Ernst A. Bettag e. K.
Franz Bettag
http://www.BIG.de
--=_alternative 004D34D0C1256C5A_=
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<br><font size=3D2 face=3D"sans-serif">options { long=5Fhostnames(off); syn=
c(0); };</font>
<br><font size=3D2 face=3D"sans-serif">source src { unix-stream("/dev/=
log"); internal(); file("/proc/kmsg" log=5Fprefix("kern=
el: ")); };</font>
<br>
<br><font size=3D2 face=3D"sans-serif">destination authlog { file("/va=
r/log/auth.log" owner("root") group("adm") perm(06=
40)); };</font>
<br><font size=3D2 face=3D"sans-serif">destination syslog { file("/var=
/log/syslog" owner("root") group("adm") perm(0640)=
); };</font>
<br><font size=3D2 face=3D"sans-serif">destination cron { file("/var/l=
og/cron.log" owner("root") group("adm") perm(0640)=
); };</font>
<br><font size=3D2 face=3D"sans-serif">destination daemon { file("/var=
/log/daemon.log" owner("root") group("adm") perm(0=
640)); };</font>
<br><font size=3D2 face=3D"sans-serif">destination kern { file("/var/l=
og/kern.log" owner("root") group("adm") perm(0640)=
); };</font>
<br><font size=3D2 face=3D"sans-serif">destination lpr { file("/var/lo=
g/lpr.log" owner("root") group("adm") perm(0640));=
};</font>
<br><font size=3D2 face=3D"sans-serif">destination mail { file("/var/l=
og/mail.log" owner("root") group("adm") perm(0640)=
); };</font>
<br><font size=3D2 face=3D"sans-serif">destination user { file("/var/l=
og/user.log" owner("root") group("adm") perm(0640)=
); };</font>
<br><font size=3D2 face=3D"sans-serif">destination uucp { file("/var/l=
og/uucp.log" owner("root") group("adm") perm(0640)=
); };</font>
<br><font size=3D2 face=3D"sans-serif">destination mailinfo { file("/v=
ar/log/mail.info" owner("root") group("adm") perm(=
0640)); };</font>
<br><font size=3D2 face=3D"sans-serif">destination mailwarn { file("/v=
ar/log/mail.warn" owner("root") group("adm") perm(=
0640)); };</font>
<br><font size=3D2 face=3D"sans-serif">destination mailerr { file("/va=
r/log/mail.err" owner("root") group("adm") perm(06=
40)); };</font>
<br><font size=3D2 face=3D"sans-serif">destination debug { file("/var/=
log/debug" owner("root") group("adm") perm(0640));=
};</font>
<br><font size=3D2 face=3D"sans-serif">destination messages { file("/v=
ar/log/messages" owner("root") group("adm") perm(0=
640)); };</font>
<br><font size=3D2 face=3D"sans-serif">destination iptables { file("/v=
ar/log/firewall.log" owner("root") group("adm") pe=
rm(0640)); };</font>
<br><font size=3D2 face=3D"sans-serif">destination emergency { file("/=
var/log/emergency.log" owner("root") group("adm") =
perm(0640)); };</font>
<br>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fiptables { match("FW=
->*"); };</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fauthpriv { facility(auth,=
authpriv); };</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fsyslog { not facility(aut=
h, authpriv); };</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fcron { facility(cron); };=
</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fdaemon { facility(daemon)=
; };</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fkern { facility(kern); };=
</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Flpr { facility(lpr); };</=
font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fmail { facility(mail); };=
</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fuser { facility(user); };=
</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fuucp { facility(uucp); };=
</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fdebug { not facility(auth=
, authpriv, news, mail); };</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fmessages { level(info .. =
warn)</font>
<br><font size=3D2 face=3D"sans-serif"> and not =
facility(auth, authpriv, cron, daemon, mail, news); };</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Femergency { level(emerg);=
};</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Finfo { level(info); };</f=
ont>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fnotice { level(notice); }=
;</font>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fwarn { level(warn); };</f=
ont>
<br><font size=3D2 face=3D"sans-serif">filter f=5Fcrit { level(crit); };</f=
ont>
<br><font size=3D2 face=3D"sans-serif">filter f=5Ferr { level(err); };</fon=
t>
<br>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fiptabl=
es); destination(iptables); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fauthpr=
iv); destination(authlog); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fsyslog=
); destination(syslog); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fcron);=
destination(cron); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fdaemon=
); destination(daemon); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fkern);=
destination(kern); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Flpr); =
destination(lpr); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fmail);=
destination(mail); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fuser);=
destination(user); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fuucp);=
destination(uucp); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fmail);=
filter(f=5Finfo); destination(mailinfo); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fmail);=
filter(f=5Fwarn); destination(mailwarn); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fmail);=
filter(f=5Ferr); destination(mailerr); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fdebug)=
; destination(debug); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fmessag=
es); destination(messages); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Femerge=
ncy); destination(emergency); };</font>
<br><font size=3D2 face=3D"sans-serif">log { source(src); filter(f=5Fiptabl=
es); destination(iptables); };<br>
<br>
Mit freundlichen Gr=FC=DFen<br>
<br>
BIG-SPIELWARENFABRIK<br>
Dipl.-Ing. Ernst A. Bettag e. K.<br>
<br>
<br>
Franz Bettag<br>
<br>
http://www.BIG.de</font>
--=_alternative 004D34D0C1256C5A_=--