summaryrefslogtreecommitdiffstats
path: root/modules/log/multichannel.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log/multichannel.go')
-rw-r--r--modules/log/multichannel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/log/multichannel.go b/modules/log/multichannel.go
index 8d94eb2b22..273df81df1 100644
--- a/modules/log/multichannel.go
+++ b/modules/log/multichannel.go
@@ -31,7 +31,7 @@ func newLogger(name string, buffer int64) *MultiChannelledLogger {
// SetLogger sets new logger instance with given logger provider and config.
func (l *MultiChannelledLogger) SetLogger(name, provider, config string) error {
- eventLogger, err := NewChannelledLog(name, provider, config, l.bufferLength)
+ eventLogger, err := NewChannelledLog(l.ctx, name, provider, config, l.bufferLength)
if err != nil {
return fmt.Errorf("Failed to create sublogger (%s): %v", name, err)
}