Skip to content

Commit

Permalink
Merge pull request #341 from ava-labs/local-logs-to-stdout
Browse files Browse the repository at this point in the history
add local logs to server stdout
  • Loading branch information
felipemadero authored Nov 8, 2022
2 parents f6174fc + ed1757c commit 6846fd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ type localNetworkOptions struct {

func newLocalNetwork(opts localNetworkOptions) (*localNetwork, error) {
lcfg := logging.Config{
LogLevel: opts.logLevel,
LogLevel: opts.logLevel,
DisplayLevel: opts.logLevel,
}
lcfg.Directory = opts.rootDataDir
logFactory := logging.NewFactory(lcfg)
Expand Down

0 comments on commit 6846fd4

Please sign in to comment.