You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You might also want to format the log messages when migrations are running:
53
61
54
62
```elixir
@@ -57,6 +65,12 @@ config :domain, MyApp.Repo,
57
65
start_apps_before_migration: [:logger_json]
58
66
```
59
67
68
+
And you might want to make logging level configurable using an `LOG_LEVEL` environment variable (in `application.ex`):
69
+
70
+
```elixir
71
+
LoggerJSON.configure_log_level_from_env!()
72
+
```
73
+
60
74
Additionally, you may also be try [redirecting otp reports to Logger](https://hexdocs.pm/logger/Logger.html#module-configuration) (see "Configuration" section).
0 commit comments