From 46558f52da9c73a9a3c6754661d9419367dc1e51 Mon Sep 17 00:00:00 2001 From: Oleg Sovetnik Date: Sat, 14 May 2022 03:42:30 +0300 Subject: [PATCH] Add rotation to account log --- config/prod.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/config/prod.exs b/config/prod.exs index f2e8022080..1d9be54e3f 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -16,4 +16,5 @@ config :logger, :error, config :logger, :account, level: :info, path: Path.absname("logs/prod/account.log"), + rotate: %{max_bytes: 52_428_800, keep: 19}, metadata_filter: [fetcher: :account]