Skip to content

warning: the log level :warn is deprecated, use :warning instead #732

@brianmay

Description

@brianmay
Jun 03 08:16:08 iot2 teslamate[1568]: warning: the log level :warn is deprecated, use :warning instead
Jun 03 08:16:08 iot2 teslamate[1568]:   (logger 1.19.5) lib/logger.ex:1276: Logger.elixir_level_to_erlang_level/1
Jun 03 08:16:08 iot2 teslamate[1568]:   (logger 1.19.5) lib/logger.ex:1010: Logger.__should_log__/2
Jun 03 08:16:08 iot2 teslamate[1568]:   (ecto_sql 3.13.5) lib/ecto/migration/runner.ex:363: Ecto.Migration.Runner.log/3
Jun 03 08:16:08 iot2 teslamate[1568]:   (elixir 1.19.5) lib/enum.ex:961: Enum."-each/2-lists^foreach/1-0-"/2
Jun 03 08:16:08 iot2 teslamate[1568]:   (ecto_sql 3.13.5) lib/ecto/migration/runner.ex:350: Ecto.Migration.Runner.log_and_exe>
Jun 03 08:16:08 iot2 teslamate[1568]:   (elixir 1.19.5) lib/enum.ex:1688: Enum."-map/2-lists^map/1-1-"/2
Jun 03 08:16:08 iot2 teslamate[1568]: 2026-06-03 08:16:08.121 [warning] database "teslamate" has a collation version mismatch

I believe this is the line that needs fixing:

defp ddl_log_level("WARNING"), do: :warn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions