GenieFramework / SearchLight.jl

ORM layer for Genie.jl, the highly productive Julia web framework
https://genieframework.com
MIT License
139 stars 16 forks source link

Can´t control logging as expected #63

Open michaelfliegner opened 1 year ago

michaelfliegner commented 1 year ago

I would expect this function to create a connect with Logging configured to leglevel error. But I still get Info messages in my logs

function connect0() let conf = SearchLight.Configuration.load() setfield!(SearchLight.config, :log_queries, true) setfield!(SearchLight.config, :log_level, Logging.Error) SearchLight.connect(conf) end end