Pipe into logger duplicates messages in /var/log/messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I am trying to pipe the output from a process into syslog using the logger
command. Initially I pipe the output into a separate file, but as it 
happens
this filled up the disk when things went wrong. So I figured I redirect the
output to syslog and let logrotate deal with the roll-over and archive 
of the
file.

However the following command :

echo "HI" > logger -t test

Resulted in the message appearing twice in /var/log/messages on my CentOS 6
system. I tested it on Gentoo as well where it behaved correctly, only 
showing
a single message.

Any pointers on why CentOS duplicates these messages.

Alex
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux