mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-10-12 01:58:46 +02:00
feat(cli): add opt-in macOS unprivileged log-send socket
This commit is contained in:
1 parent
cee5bbe7ae
commit
bfc46ef265
19 files changed
+1686
-7
No files matched your search
@@ -410,7 +410,6 @@ func (p *prog) initInternalLogging(externalCores []zapcore.Core) {
|
||||
// mainLog, not p.logger: a test drives this setup on a bare prog.
|
||||
mainLog.Load().Notice().Msg("Internal logging enabled")
|
||||
p.internalLogWriter = newLogWriter()
|
||||
p.internalLogSent = time.Now().Add(-logWriterSentInterval)
|
||||
p.internalJournalWriter = newSmallLogWriter()
|
||||
p.openInternalLogFiles()
|
||||
// A restart appends to the file it finds, so the header marks the
|
||||
|
||||
Reference in new issue
Block a user