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:
Abdelmalek Ihdene
2019-12-15 14:58:01 -05:00
committed by Matt Holt
parent 6ea121ddf8
commit c3bcd967bd
4 changed files with 93 additions and 4 deletions

View File

@ -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
}