ankane / ahoy

Simple, powerful, first-party analytics for Rails
MIT License
4.23k stars 377 forks source link

[Idea] Option to silence Ahoy.debug output #529

Closed krsyoung closed 1 year ago

krsyoung commented 1 year ago

We love Ahoy!

We've found that our log files are a little chatty with "[ahoy] Event/Visit excluded" messages and wondered if it might make sense to add an option to silence the output from Ahoy.debug?

I've seen other suggestions to simply set a nil logger, but in general we still want to hear from ahoy, just a little less :-)

Thoughts? Really just a symptom of us doing something silly ...

Happy to PR if interested.

krsyoung commented 1 year ago

I think this idea can stay an idea based on general interest! For most cases I'm guessing it is a case of preventing ahoy tracking vs silencing the output anyhow (i.e. API endpoints).

Will revisit if ops complains :-)