From b6ca782c99e902716569511df9d8afb1cb39d8b8 Mon Sep 17 00:00:00 2001 From: Matt Holt Date: Wed, 15 Jan 2020 09:40:32 -0700 Subject: [PATCH] Don't use default log settings on custom logs (#2973) (#2976) Attempt partial fix/rollback of #2781. --- caddyhttp/httpserver/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddyhttp/httpserver/logger.go b/caddyhttp/httpserver/logger.go index 0a263d471..9f7bdc875 100644 --- a/caddyhttp/httpserver/logger.go +++ b/caddyhttp/httpserver/logger.go @@ -169,7 +169,7 @@ selectwriter: } } - l.Logger = log.New(l.writer, "", log.Flags()) + l.Logger = log.New(l.writer, "", 0) return nil