mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
2438fc2c3a
- firewall log level is still fully controlled by `LOG_LEVEL` - iptables log level defaults to `info` even if global log level is `debug` to minimize the amount of debug logs - iptables log level is only set to debug if retro-compatible `FIREWALL_DEBUG=on` or if `FIREWALL_IPTABLES_LOG_LEVEL=debug`
13 lines
172 B
Go
13 lines
172 B
Go
package iptables
|
|
|
|
import "os/exec"
|
|
|
|
type CmdRunner interface {
|
|
Run(cmd *exec.Cmd) (output string, err error)
|
|
}
|
|
|
|
type Logger interface {
|
|
Debug(s string)
|
|
Warn(s string)
|
|
}
|