summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/prod.exs2
-rw-r--r--lib/chessh/discord/notifier.ex2
2 files changed, 3 insertions, 1 deletions
diff --git a/config/prod.exs b/config/prod.exs
index bb12243..71275ea 100644
--- a/config/prod.exs
+++ b/config/prod.exs
@@ -1,7 +1,7 @@
import Config
config :logger,
- level: :warning,
+ level: :info,
truncate: 4096
config :chessh, RateLimits,
diff --git a/lib/chessh/discord/notifier.ex b/lib/chessh/discord/notifier.ex
index f4fc4fa..6a20e89 100644
--- a/lib/chessh/discord/notifier.ex
+++ b/lib/chessh/discord/notifier.ex
@@ -55,6 +55,8 @@ defmodule Chessh.DiscordNotifier do
end
defp send_notification({:player_joined, game_id}) do
+ Logger.info("Player joined in #{game_id}")
+
case Repo.get(Game, game_id) |> Repo.preload([:dark_player, :light_player]) do
%Game{
status: :continue,