mirror of
https://github.com/foomo/sesamy-go.git
synced 2025-10-16 12:35:43 +00:00
wip: debug
This commit is contained in:
parent
deadd984ad
commit
84f5a2f76b
@ -32,7 +32,9 @@ func WithTagging(endpoint string) Option {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
c.l.Info("--->" + endpoint)
|
||||
proxy := httputil.NewSingleHostReverseProxy(target)
|
||||
proxy.ErrorLog = zap.NewStdLog(c.l)
|
||||
c.taggingProxy = proxy
|
||||
return nil
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user