Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence snapshotter logger for testing #3656

Merged
merged 2 commits into from
Aug 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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