mirror of
https://github.com/datarhei/core.git
synced 2025-10-31 03:16:21 +08:00
Add logging HTTP requests as single session
This commit is contained in:
@@ -314,7 +314,7 @@ func (r *registry) Register(id string, conf CollectorConfig) (Collector, error)
|
||||
return nil, fmt.Errorf("a collector with the ID '%s' already exists", id)
|
||||
}
|
||||
|
||||
m, err := newCollector(id, r.persist.sessionsCh, r.logger.WithComponent(id), conf)
|
||||
m, err := newCollector(id, r.persist.sessionsCh, r.logger, conf)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user