Skip to content

Commit

Permalink
fix: init-network with config.toml without setting TimeFormat (bnb-ch…
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBSC authored and 0xcb9ff9 committed Apr 20, 2023
1 parent d68e36f commit 6ca016a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,13 +502,13 @@ func (c *Config) warnOnce(w *bool, format string, args ...interface{}) {
}

type LogConfig struct {
FileRoot *string
FilePath *string
MaxBytesSize *uint
Level *string
FileRoot *string `toml:",omitempty"`
FilePath *string `toml:",omitempty"`
MaxBytesSize *uint `toml:",omitempty"`
Level *string `toml:",omitempty"`

// TermTimeFormat is the time format used for console logging.
TermTimeFormat *string
TermTimeFormat *string `toml:",omitempty"`
// TimeFormat is the time format used for file logging.
TimeFormat *string
TimeFormat *string `toml:",omitempty"`
}

0 comments on commit 6ca016a

Please sign in to comment.