[syslog-ng]logfile save problem (again ;)

Buerger, Manfred Manfred.Buerger@upc.at
Tue, 16 Jul 2002 09:48:45 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C22C9D.3686D990
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hello,=20

I have allready posted my syslog-ng problem to this mailinglist on =
friday;
now, I hope I can make things more clear:

I am using Suse8.0 with syslog-ng to monitor enterasys ans cabletron =
network
equipment (switches, routers.... ); and have some problems with the
configuration:

in my syslog-ng.conf:

destination local7 {
   file("/var/log/syslog-ng/$HOST/local7.log"
         sync(0) log_fifo_size(10) create_dirs(yes)
         owner(root) group(system) perm(0660) dir_perm(0770));
};

because of this configuration a system message like:
"Jul 15 13:56:28 %STP-I-PORT_STATUS,/10.146.12.16 Port status change
detected: et.3.6 - Port Up"
should be stored in "/var/log/syslog-ng/10.146.12.16/local7.log"=20
but it=B4s stored in: =
"/var/log/syslog-ng/%STP-I-PORT_STATUS,/local7.log".

what can i do?? Please help me!!!

Thanks in advance
manfred







------_=_NextPart_001_01C22C9D.3686D990
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



logfile save problem (again ;)



hello,

I have allready posted my syslog-ng = problem to this mailinglist on friday; now, I hope I can make things = more clear:

I am using Suse8.0 with syslog-ng to = monitor enterasys ans cabletron network equipment (switches, = routers.... ); and have some problems with the = configuration:

in my syslog-ng.conf:

destination local7 {
   = file("/var/log/syslog-ng/$HOST/local7.log"
         sync(0) = log_fifo_size(10) create_dirs(yes)
         = owner(root) group(system) perm(0660) dir_perm(0770));
};

because of this configuration a system = message like:
"Jul 15 13:56:28 = %STP-I-PORT_STATUS,/10.146.12.16 Port status change detected: et.3.6 - = Port Up"
should be stored in = "/var/log/syslog-ng/10.146.12.16/local7.log"
but it=B4s stored in: = "/var/log/syslog-ng/%STP-I-PORT_STATUS,/local7.log".

what can i do?? Please help = me!!!

Thanks in advance
manfred






------_=_NextPart_001_01C22C9D.3686D990--