Skip to content

Commit

Permalink
fix: init-network with config.toml without setting TimeFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBSC committed Apr 6, 2023
1 parent 221ef7d commit 998d192
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 998d192

Please sign in to comment.