non blocking audit log

This commit is contained in:
Konstantin Lebedev committed 2021-12-09 19:47:16 +05:00
1 parent 40ee9b4d7b
commit 98251fe16a
3 files changed
+27 -18

No files matched your search

+1
View File
@@ -198,6 +198,7 @@ func (s3opt *S3Options) startS3Server() bool {
if len(*s3opt.auditLogConfig) > 0 {
s3err.InitAuditLog(*s3opt.auditLogConfig)
}
defer s3err.Logger.Close()
if *s3opt.tlsPrivateKey != "" {
glog.V(0).Infof("Start Seaweed S3 API Server %s at https port %d", util.Version(), *s3opt.port)