saucelabs / forwarder

Forwarder is a production-ready, fast MITM proxy with PAC support. It's suitable for debugging, intercepting and manipulating HTTP traffic. It's used as a core component of Sauce Labs Sauce Connect Proxy.
https://forwarder-proxy.io
Mozilla Public License 2.0
200 stars 13 forks source link

log: change level type to string #838

Closed Choraden closed 3 weeks ago

Choraden commented 4 weeks ago

That would eliminate the zero value issue with flags.

    --log-level <error|info|debug> (default error) (env FORWARDER_LOG_LEVEL)
        Log level.

Fixes #832

mmatczuk commented 3 weeks ago

LGTM