Skip to content

Commit

Permalink
Merge pull request #3656 from influxdb/silence-services-for-testing
Browse files Browse the repository at this point in the history
Silence snapshotter logger for testing
  • Loading branch information
corylanou committed Aug 14, 2015
2 parents 7690184 + ff55286 commit ae674af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ There are breaking changes in this release. Please see the *Features* section be
- [#3638](https://github.com/influxdb/influxdb/pull/3638): Cluster config fixes and removal of meta.peers config field
- [#3640](https://github.com/influxdb/influxdb/pull/3640): Shutdown Graphite service when signal received.
- [#3632](https://github.com/influxdb/influxdb/issues/3632): Make single-node host renames more seamless
- [#3656](https://github.com/influxdb/influxdb/issues/3656): Silence snapshotter logger for testing

## v0.9.2 [2015-07-24]

Expand Down
5 changes: 5 additions & 0 deletions services/snapshotter/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ func (s *Service) Close() error {
return nil
}

// SetLogger sets the internal logger to the logger passed in.
func (s *Service) SetLogger(l *log.Logger) {
s.Logger = l
}

// Err returns a channel for fatal out-of-band errors.
func (s *Service) Err() <-chan error { return s.err }

Expand Down

0 comments on commit ae674af

Please sign in to comment.