move tags to influxdb struct, update all sample configs

This commit is contained in:
JP
2015-08-07 15:31:25 -05:00
parent 48c10f9454
commit 91f6c4b740
9 changed files with 19 additions and 50 deletions

View File

@@ -102,7 +102,7 @@ func main() {
close(shutdown)
}()
log.Print("InfluxDB Agent running")
log.Print("Telegraf Agent running")
log.Printf("Loaded outputs: %s", strings.Join(outputs, " "))
log.Printf("Loaded plugins: %s", strings.Join(plugins, " "))
if ag.Debug {
@@ -111,10 +111,6 @@ func main() {
ag.Interval, ag.Debug, ag.Hostname)
}
if len(outputs) > 0 {
log.Printf("Tags enabled: %v", config.ListTags())
}
if *fPidfile != "" {
f, err := os.Create(*fPidfile)
if err != nil {