diff options
Diffstat (limited to 'logtail/logtail.go')
| -rw-r--r-- | logtail/logtail.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/logtail/logtail.go b/logtail/logtail.go index 39a48ba79..a45f1bfe9 100644 --- a/logtail/logtail.go +++ b/logtail/logtail.go @@ -132,6 +132,7 @@ func NewLogger(cfg Config, logf tslogger.Logf) *Logger { } logger.SetSockstatsLabel(sockstats.LabelLogtailLogger) logger.compressLogs = cfg.CompressLogs + logger.disabled.Store(cfg.Disabled) ctx, cancel := context.WithCancel(context.Background()) logger.uploadCancel = cancel |
