Hello everyone,
I use action queue to test if client will buffer the logs when server is offline.
The client config is as following:
[cid:image001.png@01D69D60.3E0DA070]
In server side, I use ??service rsyslog stop?? to stop rsyslog service. Then in client side, I use syslog APIs to write logs as following:
[cid:image002.png@01D69D60.3E0DA070]
The client will try to handshake with server in every 30s as following:
[cid:image003.jpg@01D69D60.3E0DA070]
After some time, I restart the rsyslog service in server side(service rsyslog start), and the client will connect the server successfully and transfer the logs written in client side.
But I found that there is one line log missing ( the emergency log ), I??ve tried many times and each time the first line log (the emergency log)will miss.
I also try this test with the RELP module, the same thing happened.
So Is there any mistake in my operation or is there any problems in rsyslog? Can this problem be solved?
I will be very appreciated if you can answer my questions above. Thanks!
Best Regards,
Jason Yu
I use action queue to test if client will buffer the logs when server is offline.
The client config is as following:
[cid:image001.png@01D69D60.3E0DA070]
In server side, I use ??service rsyslog stop?? to stop rsyslog service. Then in client side, I use syslog APIs to write logs as following:
[cid:image002.png@01D69D60.3E0DA070]
The client will try to handshake with server in every 30s as following:
[cid:image003.jpg@01D69D60.3E0DA070]
After some time, I restart the rsyslog service in server side(service rsyslog start), and the client will connect the server successfully and transfer the logs written in client side.
But I found that there is one line log missing ( the emergency log ), I??ve tried many times and each time the first line log (the emergency log)will miss.
I also try this test with the RELP module, the same thing happened.
So Is there any mistake in my operation or is there any problems in rsyslog? Can this problem be solved?
I will be very appreciated if you can answer my questions above. Thanks!
Best Regards,
Jason Yu