minio/cmd/logger
Andreas Auernhammer cd152f404a replace os.Exit with panic for logger.CriticalIf (#6065)
This commit prevents complete server failures caused by
`logger.CriticalIf` calls. Instead of calling `os.Exit(1)`
the function now executes a panic with a special value
indicating that a critical error happend. At the top HTTP
handler layer panics are recovered and if its a critical
error the client gets an InternalServerError status code.

Further this allows unit tests to cover critical-error code
paths.
2018-06-25 13:51:49 -07:00
..
logger.go replace os.Exit with panic for logger.CriticalIf (#6065) 2018-06-25 13:51:49 -07:00
logonce.go Log errors only once for event notification errors (#5905) 2018-05-09 15:59:45 -07:00
reqinfo.go fix shadowing issue in logger (#5830) 2018-04-16 13:36:45 -07:00
utils.go Cleanup stack trace in error logs (#6045) 2018-06-18 12:04:46 -07:00