Fix logging

This commit is contained in:
Ingo Oppermann
2023-05-11 16:12:41 +02:00
parent f566dee9f2
commit e4ca661b25
8 changed files with 142 additions and 94 deletions

View File

@@ -193,7 +193,7 @@ func (p *proxy) Start() {
p.running = true
p.logger.Debug().Log("starting proxy")
p.logger.Debug().Log("Starting proxy")
ctx, cancel := context.WithCancel(context.Background())
p.cancel = cancel
@@ -246,7 +246,7 @@ func (p *proxy) Stop() {
p.running = false
p.logger.Debug().Log("stopping proxy")
p.logger.Debug().Log("Stopping proxy")
p.cancel()
p.cancel = nil