Skip to content

Commit

Permalink
Config: remove warning file log
Browse files Browse the repository at this point in the history
  • Loading branch information
meequrox committed May 12, 2024
1 parent 0b95ee1 commit 8e796b7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ if not is_nil(log_dir) and String.length(log_dir) > 0 do
config(:logger,
backends: [
{LoggerFileBackend, :info_log},
{LoggerFileBackend, :warning_log},
{LoggerFileBackend, :error_log},
:console
]
Expand All @@ -90,13 +89,6 @@ if not is_nil(log_dir) and String.length(log_dir) > 0 do
path: log_dir <> "/info.log"
)

config(:logger, :warning_log,
format: "[$date] [$time] [$level] $metadata: $message\n",
metadata: [:registered_name, :pid, :mfa],
level: :warning,
path: log_dir <> "/warning.log"
)

config(:logger, :error_log,
format: "[$date] [$time] [$level] $metadata: $message\n",
metadata: [:registered_name, :pid, :mfa],
Expand Down

0 comments on commit 8e796b7

Please sign in to comment.