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 ce4a8ea commit 16a979fCopy full SHA for 16a979f
command/daemon/daemon.go
@@ -266,6 +266,7 @@ func setupLogger(config Config) {
266
if config.Trace {
267
logrus.SetLevel(logrus.TraceLevel)
268
}
269
+ logrus.SetFormatter(&logrus.JSONFormatter{})
270
271
272
// Register the daemon command.
command/exec.go
@@ -222,6 +222,8 @@ func (c *execCommand) run(*kingpin.ParseContext) error {
222
if c.Trace {
223
224
225
226
+
227
logger.Default = logger.Logrus(
228
logrus.NewEntry(
229
logrus.StandardLogger(),
0 commit comments