[rsyslog-notify] Forum Thread: Dublicate log messages to remote server - (Mode 'post')

noreply at adiscon.com noreply at adiscon.com
Wed Dec 30 17:36:11 CET 2015


User: yurka44 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26251#p26251

Message: 
----------
Hello guys!

Could you please give me a hand with that?

We send a messages from applicaton by using Rsyslog with this parameter:

local6.info<---><------>@@xx.xx.xx.xx:xx
& ~

and using that configuration of logrotate:

/*.log {
    daily
    rotate 10
    copytruncate
    delaycompress
    compress
    notifempty
    missingok
    postrotate
        /sbin/service rsyslog restart > /dev/null 2>/dev/null || true
    endscript
}


I haven't found information, but on Server's machine that logs, which was
sended from client machine are dublicated.

So on client machine I see only 1 message in this log file, but on server's
machine the same message two times.

Is there copytruncate function affect on this?

Thank you!


More information about the rsyslog-notify mailing list