Remove ignored 'level' option from logging config

pull/1450/head
Philip O'Toole 2015-01-29 13:43:07 -08:00
parent 573989c5cb
commit 29d7decdf9
3 changed files with 1 additions and 8 deletions

View File

@ -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"`
}

View File

@ -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

View File

@ -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