Skip to content

Setting store to false prevents logging #59

@nertzy

Description

@nertzy

What did you do?

Set Sniffer.store = false

What did you expect to happen?

I expected Sniffer.data not to get populated, but I expected the logging to still occur.

What actually happened?

When store was set to false, logging did not occur.

Additional context

It seems like the middleware implementation of logging does not get called if store is disabled.

Environment

Ruby Version:
2.7

Framework Version (Rails, whatever):
Rails 6.0.2.2

Sniffer Version:
0.4.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions