diff --git a/node/config.go b/node/config.go index baa7a8f50d..b4f1378c8f 100644 --- a/node/config.go +++ b/node/config.go @@ -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"` }