Matthew Holt
6 years ago
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
1 changed files with
1 additions and
1 deletions
-
modules/caddyhttp/server.go
|
|
@ -136,7 +136,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
|
|
|
if err != nil { |
|
|
|
// prepare the error log
|
|
|
|
logger := errLog |
|
|
|
if s.Logs.LoggerNames != nil { |
|
|
|
if s.Logs != nil && s.Logs.LoggerNames != nil { |
|
|
|
logger = logger.Named(s.Logs.LoggerNames[r.Host]) |
|
|
|
} |
|
|
|
|
|
|
|