debug logs on pleroma restart
这个提交包含在:
父节点
509c81e4b1
当前提交
3ecdead31a
@ -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
|
||||
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户