mirror of
https://github.com/minio/minio.git
synced 2024-12-26 07:05:55 -05:00
12f570a307
Currently, once the audit becomes offline, there is no code that tries to reconnect to the audit, at the same time Send() quickly returns with an error without really trying to send a message the audit endpoint; so the audit endpoint will never be online again. Fixing this behavior; the current downside is that we miss printing some logs when the audit becomes offline; however this information is available in prometheus Later, we can refactor internal/logger so the http endpoint can send errors to console target. |
||
---|---|---|
.. | ||
message/audit | ||
target | ||
audit.go | ||
config.go | ||
console.go | ||
help.go | ||
legacy.go | ||
logger.go | ||
logonce.go | ||
reqinfo.go | ||
targets.go | ||
utils.go |