No indication of facility/level on AIX 4.3.3 using syslog-ng 1.4. 14
Is there something special I need to define or configure to have syslog-ng on AIX (4.3.3) write the facility/severity as part of the messages? On solaris we saw [facility/severity] written with each messages, but we don't get this on AIX... Did I miss something while configuring/compiling? Thanks, Andrew
On Mon, Apr 22, 2002 at 04:08:59PM -0400, Gehring, Andrew x66132 wrote:
Is there something special I need to define or configure to have syslog-ng on AIX (4.3.3) write the facility/severity as part of the messages?
On solaris we saw [facility/severity] written with each messages, but we don't get this on AIX...
Did I miss something while configuring/compiling?
That's syslogd on solaris doing that, actually. I would like to see syslog-ng offer this as an option, too. -- Yea, tho I walk thru the valley of the shadow of clues, I shall fear no luser, for Thou lart with me, Thy chicken and Thy manual, they comfort me.
On Mon, Apr 22, 2002 at 02:47:11PM -0700, Nate Campi wrote:
On Mon, Apr 22, 2002 at 04:08:59PM -0400, Gehring, Andrew x66132 wrote:
Is there something special I need to define or configure to have syslog-ng on AIX (4.3.3) write the facility/severity as part of the messages?
On solaris we saw [facility/severity] written with each messages, but we don't get this on AIX...
Did I miss something while configuring/compiling?
That's syslogd on solaris doing that, actually. I would like to see syslog-ng offer this as an option, too.
Man do I feed stupid, not syslogd but the syslog/openlog call on solaris that writes that in. -- So unleash your nmap-from-hell and beware, you may tickle an obscure bug in an ancient box hand-built by Seymour Cray himself, the only one of its kind ever made, whose sole user pays the salaries of everyone you ever met in the entire time you worked at the company, with money he makes with an investment strategy hand-coded in assembler for this special machine, by an analytic wizard who has since died.
On Mon, Apr 22, 2002 at 02:57:20PM -0700, Nate Campi wrote:
On Mon, Apr 22, 2002 at 02:47:11PM -0700, Nate Campi wrote:
On Mon, Apr 22, 2002 at 04:08:59PM -0400, Gehring, Andrew x66132 wrote:
Is there something special I need to define or configure to have syslog-ng on AIX (4.3.3) write the facility/severity as part of the messages?
On solaris we saw [facility/severity] written with each messages, but we don't get this on AIX...
Did I miss something while configuring/compiling?
That's syslogd on solaris doing that, actually. I would like to see syslog-ng offer this as an option, too.
Man do I feed stupid, not syslogd but the syslog/openlog call on solaris that writes that in.
This can be solved by the template options: destination d_file { file("/var/log/messages" template("$DATE $HOST [$FACILITY:$LEVEL] $MSG\n"); }; -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
On Tue, Apr 23, 2002 at 02:15:24PM +0200, Balazs Scheidler wrote:
On Mon, Apr 22, 2002 at 04:08:59PM -0400, Gehring, Andrew x66132 wrote:
Is there something special I need to define or configure to have syslog-ng on AIX (4.3.3) write the facility/severity as part of the messages?
On solaris we saw [facility/severity] written with each messages, but we don't get this on AIX...
Did I miss something while configuring/compiling?
This can be solved by the template options:
destination d_file { file("/var/log/messages" template("$DATE $HOST [$FACILITY:$LEVEL] $MSG\n"); };
Bazsi, The $HOST macro comes from parsing the message, right? It would be nice to have a macro that came directly from gethostbyaddr, to get consistent naming, and to make sure that badly formatted TAG sections (spaces in them) aren't mistaken as the hostname. -- "Usenet isn't a right. It's a right, a left, and a swift uppercut to the jaw." -Computer Museum (Boston)
participants (3)
-
Balazs Scheidler
-
Gehring, Andrew x66132
-
Nate Campi