remove debug prints

pull/23715/head
Adeeb Shihadeh 2022-02-04 23:32:39 -08:00
parent c05bff58b8
commit 2372f4d6db
2 changed files with 0 additions and 2 deletions

View File

@ -60,7 +60,6 @@ def main():
for m in msgs:
try:
if m.androidLog.tag == "NetworkPolicy" and m.androidLog.message.startswith("problem with advise persist threshold"):
print(m)
cloudlog.event("network policy exception caught", androidLog=m.androidLog, error=True)
except UnicodeDecodeError:
pass

View File

@ -15,7 +15,6 @@ def main():
if prop is not None and len(prop) > 0:
os.system("pkill -9 loggerd")
params.put("LastSystemShutdown", f"'{prop}' {datetime.datetime.now()}")
print("shutdown detected", repr(prop))
time.sleep(120)
cloudlog.error('shutdown false positive')