mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-16 13:17:19 +02:00
all: some improvements for better troubleshooting
- Include version/OS information when logging - Make time field human readable in log file - Force root privilege when running status command on darwin Updates #34
This commit is contained in:
committed by
Cuong Manh Le
parent
9927803497
commit
b3a342bc44
@@ -73,7 +73,6 @@ func initLogging() {
|
||||
}
|
||||
writers = append(writers, logFile)
|
||||
}
|
||||
zerolog.TimeFieldFormat = zerolog.TimeFormatUnixMs
|
||||
consoleWriter := zerolog.NewConsoleWriter(func(w *zerolog.ConsoleWriter) {
|
||||
w.TimeFormat = time.StampMilli
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user