Clean up logging messages and add flusher startup delay

Fixes #294
This commit is contained in:
Cameron Sparr
2015-10-20 16:45:31 -06:00
parent dd2e9e08df
commit ac685d19f8
2 changed files with 16 additions and 16 deletions

View File

@@ -133,8 +133,8 @@ func main() {
log.Printf("Loaded outputs: %s", strings.Join(outputs, " "))
log.Printf("Loaded plugins: %s", strings.Join(plugins, " "))
log.Printf("Agent Config: Interval:%s, Debug:%#v, Hostname:%#v, "+
"Precision:%#v, UTC: %#v\n",
ag.Interval, ag.Debug, ag.Hostname, ag.Precision, ag.UTC)
"Flush Interval:%s\n",
ag.Interval, ag.Debug, ag.Hostname, ag.FlushInterval)
log.Printf("Tags enabled: %s", config.ListTags())
if *fPidfile != "" {