opensnitch/daemon/statistics
Gustavo Iñiguez Goia 12b1adfe03 loggers: improved remote_syslog logging
Under heavy network traffic load, writing to a remote syslog fails with
a timeout. Under this situation the connection didn't recover from that
state, blocking other connections.

To ensure that we continue working normally, as well as keep sending
events to syslog:

- Set a max timeout when writing to a remote syslog.
- Restart the connection with the server, if there're more than 10
  errors.

With these fixes along with few other changes, writing to remote syslog
is more reliable, it works as expected.

We need to find the root cause of this behavior, and further test it
(#638).
2022-05-25 17:46:27 +02:00
..
event.go Use daemon's event timestamp in UI. 2020-12-22 22:50:18 +03:00
stats.go loggers: improved remote_syslog logging 2022-05-25 17:46:27 +02:00