rgrinberg / opium

Sinatra like web toolkit for OCaml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

don't setup Logs reporter and log level filter inside the opium library

anuragsoni opened this issue · comments

I'm not sure its a good idea for opium the library to setup log reports and log level filters by default. At the moment it has the effect of over-riding the user provided configuration for reporters and log level unless the user uses the "quiet" flag.

I think we should avoid having this setting live inside the library as the application user should be the one controlling how the logs are reported. But if we do want to have some sort of pre-configured setup, maybe it should be opt-in instead of opt-out?