For example here:
config :logger, :default_handler,  config: %{
    file: ~c"system.log",

    filesync_repeat_interval: 5000,

    file_check: 5000,

    max_no_bytes: 10_000_000,

    max_no_files: 5

  }

… as described in 
https://hexdocs.pm/logger/main/Logger.html#module-boot-configuration

Say I want to change the file path for different envs.


José Valim schrieb am Donnerstag, 30. März 2023 um 12:34:54 UTC+2:

> Can you please provide examples of where this may happen?
>
> On Thu, Mar 30, 2023 at 12:08 PM lostko...@gmail.com <lostko...@gmail.com> 
> wrote:
>
>> We'll be seeing deeper integration with :logger in the upcoming elixir 
>> version, but :logger is using maps for configuration, which don't merge in 
>> config, but require changing the whole map for any small change within the 
>> map. Afaik maps are meant to become more common for configuration on 
>> erlangs end, so are there any plans to bring the merging behaviour of 
>> keyword lists to maps as well?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elixir-lang-core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to elixir-lang-co...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elixir-lang-core/754c06e5-62e2-48b1-a58b-7292afb34097n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/elixir-lang-core/754c06e5-62e2-48b1-a58b-7292afb34097n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/c1c87714-da02-4639-a066-2db6e8f46e79n%40googlegroups.com.

Reply via email to