Remove ignored 'level' option from logging config
parent
573989c5cb
commit
29d7decdf9
|
@ -115,8 +115,7 @@ type Config struct {
|
|||
} `toml:"cluster"`
|
||||
|
||||
Logging struct {
|
||||
File string `toml:"file"`
|
||||
Level string `toml:"level"`
|
||||
File string `toml:"file"`
|
||||
} `toml:"logging"`
|
||||
}
|
||||
|
||||
|
|
|
@ -48,8 +48,6 @@ func TestParseConfig(t *testing.T) {
|
|||
|
||||
if c.Logging.File != "influxdb.log" {
|
||||
t.Fatalf("logging file mismatch: %v", c.Logging.File)
|
||||
} else if c.Logging.Level != "info" {
|
||||
t.Fatalf("logging level mismatch: %v", c.Logging.Level)
|
||||
}
|
||||
|
||||
if !c.Authentication.Enabled {
|
||||
|
@ -169,8 +167,6 @@ join-urls = "http://127.0.0.1:8086"
|
|||
enabled = true
|
||||
|
||||
[logging]
|
||||
# logging level can be one of "debug", "info", "warn" or "error"
|
||||
level = "info"
|
||||
file = "influxdb.log"
|
||||
|
||||
# Configure the admin server
|
||||
|
|
|
@ -29,8 +29,6 @@ join-urls = ""
|
|||
enabled = false
|
||||
|
||||
[logging]
|
||||
# logging level can be one of "fine", "debug", "info", "warn" or "error"
|
||||
level = "info"
|
||||
file = "influxdb.log" # stdout to log to standard out, or syslog facility
|
||||
|
||||
# Configure the admin server
|
||||
|
|
Loading…
Reference in New Issue