opensnitch/daemon/log
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
..
formats added way to send events to syslog 2022-05-17 16:28:59 +02:00
loggers loggers: improved remote_syslog logging 2022-05-25 17:46:27 +02:00
log.go minor fixes to prevent go vet from complaining 2021-02-13 19:18:38 +03:00