diff --git a/daemon/logging/trace/trace_debug.go b/daemon/logging/trace/trace_debug.go index 773e3e9..93ca6e7 100644 --- a/daemon/logging/trace/trace_debug.go +++ b/daemon/logging/trace/trace_debug.go @@ -3,9 +3,11 @@ package trace import ( "fmt" "os" + + "github.com/zrepl/zrepl/util/envconst" ) -const debugEnabled = false +var debugEnabled = envconst.Bool("ZREPL_TRACE_DEBUG_ENABLED", false) func debug(format string, args ...interface{}) { if !debugEnabled {