I’m writing a mix task that needs part of my app to be started.
But when I use Mix.Task.run("app.start") or Application.ensure_all_started(:my_app), I have tons of info logs like this:
16:02:55.606 [info] Application lager started on node nonode@nohost 16:02:55.624 [info] Application gpb started on node nonode@nohost 16:02:55.624 [info] Application exprotobuf started on node nonode@nohost 16:02:55.640 [info] Application eex started on node nonode@nohost 16:02:55.661 [info] Application mime started on node nonode@nohost 16:02:55.664 [info] Application plug_crypto started on node nonode@nohost 16:02:55.678 [info] Application telemetry started on node nonode@nohost 16:02:55.680 [info] Application plug started on node nonode@nohost Any way to silent this?
Already tried an experimental cocktail with multiple combinations of following commands. Not working … 
Mix.shell(Mix.Shell.Quiet) Logger.disable(self()) Logger.remove_backend(:console) Mix.Task.run("app.start")
)