Hi all,
I tried to setup simple relay with syslog-ng, it receives log on one port and forward to the destination. It works fine when destination is available, but when destination unavailable for a short period of time and then became available I miss one log entry.
For example assume that I send simple numbers with logger command to syslog-ng, from 0 to 100, when I receive 50 on destination I stop its listener and start it again, in this case the first log entry that I receive is 52 instead of 51.
Here is my syslog-ng.conf:
@version: 3.26
options {
time_reopen(5);
};
source s_network {
network(
ip("127.0.0.1")
port(514)
transport("udp")
);
};
destination d_network {
network(
"127.0.0.1"
port(5514)
transport("udp")
);
};
log {
source(s_network);
destination(d_network);
};
Would you please help me to resolve this issue?
Regards,
Ali
______________________________________________________________________________