mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-06 12:54:40 +08:00
logging: Implement net writer (#2884)
* Implement UDP writer * Implement Net Writer * Utilize Caddy's address parsing functions * A couple little fixes (see #2884)
This commit is contained in:

committed by
Matt Holt

parent
6ea121ddf8
commit
c3bcd967bd
2
caddy.go
2
caddy.go
@ -134,7 +134,7 @@ func changeConfig(method, path string, input []byte, forceReload bool) error {
|
||||
|
||||
// if nothing changed, no need to do a whole reload unless the client forces it
|
||||
if !forceReload && bytes.Equal(rawCfgJSON, newCfg) {
|
||||
Log().Named("admin.api.change_config").Info("config is unchanged")
|
||||
Log().Named("admin.api").Info("config is unchanged")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user