remove debug prints
parent
c05bff58b8
commit
2372f4d6db
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue