Skip to content

Commit

Permalink
Update log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
erhant authored Oct 8, 2024
1 parent cd49c22 commit d8c8629
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ func main() {

// log level
if *dev {
envvars["RUST_LOG"] = "none,dkn_compute=debug,ollama_workflows=info"
envvars["RUST_LOG"] = "none,dkn_compute=debug,dkn_p2p=debug,dkn_workflows=debug,ollama_workflows=info"
} else if *trace {
envvars["RUST_LOG"] = "none,dkn_compute=trace"
envvars["RUST_LOG"] = "none,dkn_compute=trace,dkn_p2p=trace,dkn_workflows=trace"
} else {
// default level info
envvars["RUST_LOG"] = "none,dkn_compute=info"
envvars["RUST_LOG"] = "none,dkn_compute=info,dkn_p2p=info,dkn_workflows=info"
}

// get latest dkn_compute binary version
Expand Down

0 comments on commit d8c8629

Please sign in to comment.