summaryrefslogtreecommitdiff
path: root/internal/io
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-05 10:00:38 +0300
committerPaul Buetow <paul@buetow.org>2021-10-05 10:00:38 +0300
commit2ff78a71087d4ba95121996338d0c418b907acfe (patch)
tree82455dac0c870b28aea8c96a426050dc215a8818 /internal/io
parent71023c256833a3f598732dc6fe6a1bd338d3fa98 (diff)
more on this
Diffstat (limited to 'internal/io')
-rw-r--r--internal/io/dlog/dlog.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/io/dlog/dlog.go b/internal/io/dlog/dlog.go
index 2beda75..db99307 100644
--- a/internal/io/dlog/dlog.go
+++ b/internal/io/dlog/dlog.go
@@ -57,6 +57,12 @@ func Start(ctx context.Context, wg *sync.WaitGroup, sourceProcess source.Source,
Client = New(source.Server, source.Client, level, impl, strategy)
Server = New(source.Server, source.Server, level, impl, strategy)
Common = Server
+ case source.HealthCheck:
+ // Health check isn't logging anything.
+ impl := loggers.STDOUT
+ Client = New(source.HealthCheck, source.Client, level, impl, strategy)
+ Server = New(source.HealthCheck, source.Server, level, impl, strategy)
+ Common = Client
}
var wg2 sync.WaitGroup