def METHOD_NAME(init_app, create_app, caplog):
    """This test will fail if you have turned on live-logging in pyproject.toml (log_cli = 1 )"""
    caplog.set_level(logging.DEBUG)
    runner = CliRunner()
    result = runner.invoke(server, ["--debug", "--no-filelog"])
    print(result.output)
    if result.exception != None:
        # Makes searching for issues much more convenient
        traceback.print_tb(result.exception.__traceback__)
    print(result.exception)
    assert result.exit_code == 0
    assert "We're now on level DEBUG on logger cryptoadvance" in caplog.text