Write data in UTC by default and use 's' precision

Closes #159
Closes #162
This commit is contained in:
Cameron Sparr
2015-09-02 10:30:44 -06:00
parent 13061d1ec7
commit 5bfb6df0e0
4 changed files with 56 additions and 12 deletions

View File

@@ -126,8 +126,9 @@ func main() {
log.Printf("Loaded plugins: %s", strings.Join(plugins, " "))
if ag.Debug {
log.Printf("Debug: enabled")
log.Printf("Agent Config: Interval:%s, Debug:%#v, Hostname:%#v\n",
ag.Interval, ag.Debug, ag.Hostname)
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)
}
log.Printf("Tags enabled: %s", config.ListTags())