Skip to content

Commit 3b1a068

Browse files
committed
fix json
1 parent 0cf6cf1 commit 3b1a068

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ func init() {
7777
}
7878

7979
func main() {
80+
// Configure logger to output raw JSON without timestamp prefix for Datadog
81+
log.SetFlags(0)
82+
8083
errFilesPath := "/www"
8184
if os.Getenv(ErrFilesPathVar) != "" {
8285
errFilesPath = os.Getenv(ErrFilesPathVar)

0 commit comments

Comments
 (0)