We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e8d0d4 commit 1b653cbCopy full SHA for 1b653cb
command/daemon/daemon.go
@@ -275,6 +275,7 @@ func setupLogger(config Config) {
275
if config.Trace {
276
logrus.SetLevel(logrus.TraceLevel)
277
}
278
+ logrus.SetFormatter(&logrus.JSONFormatter{})
279
280
281
// Register the daemon command.
command/exec.go
@@ -224,6 +224,8 @@ func (c *execCommand) run(*kingpin.ParseContext) error {
224
if c.Trace {
225
226
227
228
+
229
logger.Default = logger.Logrus(
230
logrus.NewEntry(
231
logrus.StandardLogger(),
0 commit comments