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 37c0ef5 commit 2097398Copy full SHA for 2097398
cmd/chirpstack-gateway-bridge/main.go
@@ -1,6 +1,8 @@
1
package main
2
3
import (
4
+ "time"
5
+
6
"github.com/brocaar/chirpstack-gateway-bridge/cmd/chirpstack-gateway-bridge/cmd"
7
paho "github.com/eclipse/paho.mqtt.golang"
8
log "github.com/sirupsen/logrus"
@@ -28,6 +30,10 @@ func enableClientLogging() {
28
30
}
29
31
32
func init() {
33
+ log.SetFormatter(&log.TextFormatter{
34
+ TimestampFormat: time.RFC3339Nano,
35
+ })
36
37
enableClientLogging()
38
39
0 commit comments