Skip to content

Commit c5cdffa

Browse files
authored
Start :update_counter loop on Logger.Config init (#11350)
1 parent b166e8e commit c5cdffa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/logger/lib/logger/config.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ defmodule Logger.Config do
2222
def init(counter) do
2323
state = load_state(counter)
2424
state = update_counter(state, false)
25+
schedule_update_counter(state)
2526
{:ok, state}
2627
end
2728

0 commit comments

Comments
 (0)