diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-03 10:33:40 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-03 10:33:40 +0300 |
commit | 3ecdead31ae65f395104a5fd7fafc847a7b97eca (patch) | |
tree | 5c4fb792395d788b893eaed68b37888efcdbb342 /restarter | |
parent | 509c81e4b10bd8ba6d3a93889cd6fbbbfbcbab21 (diff) | |
download | pleroma-3ecdead31ae65f395104a5fd7fafc847a7b97eca.tar.gz pleroma-3ecdead31ae65f395104a5fd7fafc847a7b97eca.zip |
debug logs on pleroma restart
Diffstat (limited to 'restarter')
-rw-r--r-- | restarter/lib/pleroma.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/restarter/lib/pleroma.ex b/restarter/lib/pleroma.ex index 4ade890f9..e48bc4d1d 100644 --- a/restarter/lib/pleroma.ex +++ b/restarter/lib/pleroma.ex @@ -44,7 +44,7 @@ defmodule Restarter.Pleroma do end def handle_cast({:restart, :test, _}, state) do - Logger.warn("pleroma manually restarted") + Logger.debug("pleroma manually restarted") {:noreply, Map.put(state, :need_reboot?, false)} end @@ -57,7 +57,7 @@ defmodule Restarter.Pleroma do def handle_cast({:after_boot, _}, %{after_boot: true} = state), do: {:noreply, state} def handle_cast({:after_boot, :test}, state) do - Logger.warn("pleroma restarted after boot") + Logger.debug("pleroma restarted after boot") {:noreply, Map.put(state, :after_boot, true)} end |