whitfin / local-cluster

Easy local cluster creation for Elixir to aid in unit testing
MIT License
226 stars 30 forks source link

Fix param for setting remote log level #12

Closed bernardd closed 4 years ago

bernardd commented 5 years ago

The remote log level wasn't being set correctly due to the subtleties of how Elixir handles keyword lists.

[a: :b] gets interpreted as [{:a, :b}], but the args list needs [[{:a, :b}]], since the keyword list is just one of multiple possible arguments. This patch gets the log level set correctly.