mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-04 01:07:49 +02:00
cmd/cli: add an internal warn level log writer
So important events like upstream online/offline/failed will be preserved, and submitted to the server as necessary.
This commit is contained in:
committed by
Cuong Manh Le
parent
a95d50c0af
commit
8bcbb9249e
@@ -102,6 +102,7 @@ type prog struct {
|
||||
queryFromSelfMap sync.Map
|
||||
initInternalLogWriterOnce sync.Once
|
||||
internalLogWriter *logWriter
|
||||
internalWarnLogWriter *logWriter
|
||||
internalLogSent time.Time
|
||||
runningIface string
|
||||
requiredMultiNICsConfig bool
|
||||
|
||||
Reference in New Issue
Block a user