fix log inheritance

This commit is contained in:
A.Unger
2021-11-08 11:35:41 +01:00
parent 74dae6dad9
commit 0e9b6d8c52
5 changed files with 15 additions and 12 deletions
+1
View File
@@ -23,6 +23,7 @@ func ProxyCommand(cfg *config.Config) *cli.Command {
return ParseConfig(ctx, cfg)
},
Action: func(c *cli.Context) error {
cfg.Proxy.Log = cfg.Log
origCmd := command.Server(cfg.Proxy)
return handleOriginalAction(c, origCmd)
},