Looks like I spoke too soon. AppDaemon is getting log saturation again (this has been working reliably for almost a week prior to this). It should be noted that the Qolsys panel is the only thing I have using AppDaemon and MQTT.
2021-06-06 16:42:40 stdout 2021-06-06 06:42:40.433136 WARNING AppDaemon: ------------------------------------------------------------
2021-06-06 16:42:40 stdout
2021-06-06 16:42:40 stdout RecursionError: maximum recursion depth exceeded while calling a Python object
2021-06-06 16:42:40 stdout limit = getattr(sys, 'tracebacklimit', None)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 336, in extract
2021-06-06 16:42:40 stdout self.stack = StackSummary.extract(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 508, in __init__
2021-06-06 16:42:40 stdout [Previous line repeated 173 more times]
2021-06-06 16:42:40 stdout context = TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 493, in __init__
2021-06-06 16:42:40 stdout context = TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 493, in __init__
2021-06-06 16:42:40 stdout context = TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 493, in __init__
2021-06-06 16:42:40 stdout return list(TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 120, in format_exception
2021-06-06 16:42:40 stdout return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 167, in format_exc
2021-06-06 16:42:40 stdout logger.warning(traceback.format_exc())
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/site-packages/appdaemon/logging.py", line 164, in emit
2021-06-06 16:42:40 stdout self.emit(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 954, in handle
2021-06-06 16:42:40 stdout hdlr.handle(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1661, in callHandlers
2021-06-06 16:42:40 stdout self.callHandlers(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1599, in handle
2021-06-06 16:42:40 stdout self.handle(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1589, in _log
2021-06-06 16:42:40 stdout self._log(WARNING, msg, args, **kwargs)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1458, in warning
2021-06-06 16:42:40 stdout logger.warning("message: %s, args: %s", record.msg, record.args)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/site-packages/appdaemon/logging.py", line 140, in emit
2021-06-06 16:42:40 stdout Traceback (most recent call last):
2021-06-06 16:42:40 stdout
2021-06-06 16:42:40 stdout During handling of the above exception, another exception occurred:
2021-06-06 16:42:40 stdout
2021-06-06 16:42:40 stdout RecursionError: maximum recursion depth exceeded
2021-06-06 16:42:40 stdout [Previous line repeated 171 more times]
2021-06-06 16:42:40 stdout context = TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 493, in __init__
2021-06-06 16:42:40 stdout context = TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 493, in __init__
2021-06-06 16:42:40 stdout context = TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 493, in __init__
2021-06-06 16:42:40 stdout return list(TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 120, in format_exception
2021-06-06 16:42:40 stdout return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 167, in format_exc
2021-06-06 16:42:40 stdout logger.warning(traceback.format_exc())
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/site-packages/appdaemon/logging.py", line 164, in emit
2021-06-06 16:42:40 stdout self.emit(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 954, in handle
2021-06-06 16:42:40 stdout hdlr.handle(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1661, in callHandlers
2021-06-06 16:42:40 stdout self.callHandlers(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1599, in handle
2021-06-06 16:42:40 stdout self.handle(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1589, in _log
2021-06-06 16:42:40 stdout self._log(WARNING, msg, args, **kwargs)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1458, in warning
2021-06-06 16:42:40 stdout logger.warning("message: %s, args: %s", record.msg, record.args)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/site-packages/appdaemon/logging.py", line 140, in emit
2021-06-06 16:42:40 stdout Traceback (most recent call last):
2021-06-06 16:42:40 stdout
2021-06-06 16:42:40 stdout During handling of the above exception, another exception occurred:
2021-06-06 16:42:40 stdout
2021-06-06 16:42:40 stdout RecursionError: maximum recursion depth exceeded
2021-06-06 16:42:40 stdout [Previous line repeated 168 more times]
2021-06-06 16:42:40 stdout context = TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 493, in __init__
2021-06-06 16:42:40 stdout context = TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 493, in __init__
2021-06-06 16:42:40 stdout context = TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 493, in __init__
2021-06-06 16:42:40 stdout return list(TracebackException(
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 120, in format_exception
2021-06-06 16:42:40 stdout return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/traceback.py", line 167, in format_exc
2021-06-06 16:42:40 stdout logger.warning(traceback.format_exc())
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/site-packages/appdaemon/logging.py", line 164, in emit
2021-06-06 16:42:40 stdout self.emit(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 954, in handle
2021-06-06 16:42:40 stdout hdlr.handle(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1661, in callHandlers
2021-06-06 16:42:40 stdout self.callHandlers(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1599, in handle
2021-06-06 16:42:40 stdout self.handle(record)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1589, in _log
2021-06-06 16:42:40 stdout self._log(WARNING, msg, args, **kwargs)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/logging/__init__.py", line 1458, in warning
2021-06-06 16:42:40 stdout logger.warning("message: %s, args: %s", record.msg, record.args)
2021-06-06 16:42:40 stdout File "/usr/local/lib/python3.8/site-packages/appdaemon/logging.py", line 140, in emit
2021-06-06 16:42:40 stdout Traceback (most recent call last):
In my case in order to get everything back, I had to first restart the panel and then restart AppDaemon. Restarting AppDaemon by itself did not restore communication, nor did restarting the panel after restarting AppDaemon. I think this suggests that the panel itself is getting locked up or locking out communication.
Does anyone know how to access the actual panel logs (@mzac maybe)? The only thing I see is an option to “upload logs to the server”, and there’s not much information about that in the manual.