-
Notifications
You must be signed in to change notification settings - Fork 178
Is there a way to disable this log?
All reactions
Replies: 1 comment
Yep, it's a debug log line, so you just need to make sure you're running with minimum level of info or above.
With the main binary, this is accomplished with RIVER_LOG_LEVEL=info, although this should also be the default.
If using the handler version from Go code, make sure the injected logger is at least info. logger in this sample code:
server, err := riverui.NewServer(&riverui.ServerOpts{ Client: client, DevMode: true, // Use the live filesystem—don't use this outside tests DB: dbPool, Logger: logger, Prefix: "/riverui", // Mount the UI under /riverui path })
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment