mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 13:10:22 +03:00
Make logger webhook config dynamic (#14289)
It should not be required to restart the server after setting the logger webhook config.
This commit is contained in:
@@ -55,6 +55,9 @@ func (t *testingLogger) Init() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (t *testingLogger) Cancel() {
|
||||
}
|
||||
|
||||
func (t *testingLogger) Send(entry interface{}, errKind string) error {
|
||||
t.mu.Lock()
|
||||
defer t.mu.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user