소스 검색

debug logs on pleroma restart

debug-remote-ip
Alexander Strizhakov 4 년 전
부모
커밋
3ecdead31a
No known key found for this signature in database GPG 키 ID: 22896A53AEF1381
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      restarter/lib/pleroma.ex

+ 2
- 2
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



불러오는 중...
취소
저장