Genie Discord forum
In SearchLight, how do I disable @info messages whenever I save to the database or perform operation
![Author Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
I am writing a package that makes use of SearchLight. In the project's test folder, I a "db" folder which contains a testdb.sqlite
and a connection.yml
file with the following settings:
env: dev
dev:
adapter: SQLite
database: db/testdb.sqlite
config:
log_queries: false
log_level: :error
log_to_file: false
In my test script I have display(SearchLight.config)
with the following output:
SearchLight.Configuration.Settings("dev", "schema_migrations", "db\\migrations", Dict{String, Any}("options" => Dict{String, String}(), "config" => Dict{Any, Any}("log_level" => ":error", "log_to_file" => false, "log_queries" => false), "database" => "db/testdb.sqlite", "adapter" => "SQLite"), false, Error, false)
However, I am still getting @info
messages for all of my DB operations.
![Author Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Should I open an issue for this on the SearchLight repository?
![Author Avatar](https://cdn.discordapp.com/avatars/743412727464067154/bc30abeb49653e9978c0f7c90f4486a8.png?size=512)
Yes please