Thread View: comp.bugs.4bsd
2 messages
2 total messages
Started by Eric Carpenter
Tue, 08 Sep 1992 14:48
syslogd problem
Author: Eric Carpenter
Date: Tue, 08 Sep 1992 14:48
Date: Tue, 08 Sep 1992 14:48
39 lines
1604 bytes
1604 bytes
Can anyone give me some insight into this situation? If machineA has the following syslog.conf file: user.alert /tmp/alert user.info /tmp/info user.alert @machineB user.info @machineB and machineB has the following syslog.conf file: user.info /tmp/info user.alert /tmp/alert Then when machineA does a syslog of an alert priority, 2 alert entries are put in the /tmp/alert file of machineB. Shouldn't there only be 1? There is also 2 entries in the /tmp/info file of machineB, but this I can understand (one for the alert and one for the info). When I comment out the .info entries from machineA's syslog.conf file, the problem goes away. user.alert /tmp/alert #user.info /tmp/info user.alert @machineB #user.info @machineB The same thing occurs on every platform that I tried it on. Thanks for any help.. -- ___________________________________________________________________ | Eric Carpenter | inet: eric@thelake.austin.ibm.com | | PSP, Austin | vnet: ECARP at AUSTIN | | Dept. D54 3b-17/905 | phone: (512)838-3277 -- T/L 678 |
Re: syslogd problem
Author: Ken Raeburn
Date: Sat, 12 Sep 1992 02:55
Date: Sat, 12 Sep 1992 02:55
39 lines
2083 bytes
2083 bytes
In article <1992Sep8.144857.22346@awdprime.austin.ibm.com> eric@austin.ibm.com (Eric Carpenter) writes: If machineA has the following syslog.conf file: user.alert /tmp/alert user.info /tmp/info ... so an alert-level message gets logged to both files ... user.alert @machineB user.info @machineB ... and gets sent twice to machine B ... and machineB has the following syslog.conf file: user.info /tmp/info user.alert /tmp/alert ... so each copy gets logged to both files ... Then when machineA does a syslog of an alert priority, 2 alert entries are put in the /tmp/alert file of machineB. Shouldn't there only be 1? There is also 2 entries in the /tmp/info file of machineB, but this I can understand (one for the alert and one for the info). When I comment out the .info entries from machineA's syslog.conf file, the problem goes away. Right. I think you'll get the "right" results by commenting out just the "user.alert @machineB" entry alone on machineA. Then all messages of level "info" or above (including "alert") will be sent to machineB once, there logged to the appropriate file(s) as determined by the syslog.conf file there. ~ Ken Raeburn work: raeburn@cygnus.com play: raeburn@mit.edu ~ ~ Cygnus Support, One Kendall Square, Cambridge MA 02139 USA ~ 617-494-1040 ~ -- ~ Ken Raeburn work: raeburn@cygnus.com play: raeburn@mit.edu ~ ~ Cygnus Support, One Kendall Square, Cambridge MA 02139 USA ~ 617-494-1040 ~
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads