I start to dive deeper into AppDaemon automations and the logging in the Addon / Log section of the GUI is annoying.
Hence, I started to separate the logs into own files for every automation file/class I created.
Then I realised the errors are not written into the separated log files. Of course, but it’s bad, as it leads to missed errors when working on an automation.
Hence, I configured the default logging files to be also in the same directory.
Ok, now again the errors are again in a separate file… Also not ideal. Also the logging is not shown in the Web GUI anymore!
Hence, I configured all the default files to write into the same file. Accepting it’s not in the Web GUI anymore.
Even following the file with
tail -f addon_configs/a0d7b954_appdaemon/logs/appdaemon.log it doesn’t show the errors, as I have smb shared the config dirs and mounted them on my desktop to open them together in a Visual Studio Code project, and it seems the log files are only flushed after some lines…
Hmmm. Far from ideal working experience.
How are you logging and setting up your development environment with AppDaemon?