Turn down some debugging
This commit is contained in:
@@ -588,7 +588,7 @@ async def lookup_email(
|
|||||||
exclude_unset: bool = True,
|
exclude_unset: bool = True,
|
||||||
response: Response = Response,
|
response: Response = Response,
|
||||||
):
|
):
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
if account_id == '':
|
if account_id == '':
|
||||||
@@ -597,7 +597,6 @@ async def lookup_email(
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
return mk_resp(data=False, status_code=404, response=response) # Not Found
|
return mk_resp(data=False, status_code=404, response=response) # Not Found
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
|
||||||
|
|
||||||
data = {}
|
data = {}
|
||||||
data['account_id'] = account_id
|
data['account_id'] = account_id
|
||||||
@@ -688,7 +687,7 @@ async def lookup_username(
|
|||||||
exclude_unset: bool = True,
|
exclude_unset: bool = True,
|
||||||
response: Response = Response,
|
response: Response = Response,
|
||||||
):
|
):
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
if account_id == '':
|
if account_id == '':
|
||||||
@@ -697,7 +696,6 @@ async def lookup_username(
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
return mk_resp(data=False, status_code=404, response=response) # Not Found
|
return mk_resp(data=False, status_code=404, response=response) # Not Found
|
||||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
|
||||||
|
|
||||||
data = {}
|
data = {}
|
||||||
data['account_id'] = account_id
|
data['account_id'] = account_id
|
||||||
|
|||||||
Reference in New Issue
Block a user