     {:ok, history} = Serverboards.Logger.history %{count: 10}
     assert Enum.count(history) <= 10
 
-    Logger.remove_backend(Serverboards.Logger)
-  end
-
-  test "Get history, filter by query" do
-    Logger.remove_backend(Serverboards.Logger)
-    Logger.add_backend(Serverboards.Logger, [])
-
-    {:ok, user} = Serverboards.Auth.User.user_info("dmoreno@serverboards.io")
-    {:ok, uuid} = Serverboards.Service.service_add %{ "name" => "Test service", "tags" => ~w(tag1 tag2 tag3), "type" => "aabb" }, user
-
-    Logger.flush
+    # check by query
 
     {:ok, history} = Serverboards.Logger.history %{q: "Test service Serverboards.Service"}
-    # Logger.info("History debug: #{inspect history}")
-    # Logger.info("History debug: #{inspect Enum.count(history.lines)}")
+    Logger.debug("History debug: #{inspect history}")
+    Logger.debug("History debug: #{inspect Enum.count(history.lines)}")
 
     assert Enum.count(history.lines) > 0
     assert Enum.count(history.lines) <= 50

    assert Enum.count(history) <= 10
  end

  test "Get history, filter by service" do
    Logger.remove_backend(Serverboards.Logger)
    Logger.add_backend(Serverboards.Logger, [])


    {:ok, history} = Serverboards.Logger.history %{count: 10}
    assert Enum.count(history) <= 10



    Logger.remove_backend(Serverboards.Logger)
  end

end
