Skip to content

Commit

Permalink
Fix #520. Print influxdb's version in the log
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshahid committed May 13, 2014
1 parent b2f229e commit 3479a7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### Features

- [Issue #505](https://github.com/influxdb/influxdb/issues/505). Return a version header with http the response (Thanks, @majst01)
- [Issue #520](https://github.com/influxdb/influxdb/issues/520). Print the version to the log file

### Bugfixes

Expand Down
4 changes: 2 additions & 2 deletions src/daemon/influxd.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ func main() {
}

if config.BindAddress == "" {
log.Info("Starting Influx Server...")
log.Info("Starting Influx Server %s...", version)
} else {
log.Info("Starting Influx Server bound to %s ...", config.BindAddress)
log.Info("Starting Influx Server %s bound to %s...", version, config.BindAddress)
}
fmt.Printf(`
+---------------------------------------------+
Expand Down

0 comments on commit 3479a7a

Please sign in to comment.