Merge pull request #3859 from influxdb/log_go_version

Log Go runtime version
pull/3864/merge
Philip O'Toole 2015-08-26 14:59:08 -07:00
commit a74f7e32aa
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ func (cmd *Command) Run(args ...string) error {
// Mark start-up in log.
log.Printf("InfluxDB starting, version %s, branch %s, commit %s", cmd.Version, cmd.Branch, cmd.Commit)
log.Println("GOMAXPROCS set to", runtime.GOMAXPROCS(0))
log.Printf("Go version %s, GOMAXPROCS set to %d", runtime.Version(), runtime.GOMAXPROCS(0))
// Begin monitoring the server's error channel.
go cmd.monitorServerErrors()