Is there a way to write a error message from outside to pimatic (pimatic-daemon.log) so that this information will be displayed in the front end under messages?
-
Use of pimatic-daemon.log from outside of pimatic?
-
Other processes can append messages to ‘pimatic-daemon.log’ (using ‘>>’). However, these messages won’t show up in the log viewer as the frontend does not read from file.If there is no hidden feature to inject log messages this could be done with a special plugin, but I’d not recommend this. I think it is better to use a web-based log viewer which gives you more features and control. Have a look at Kibana - https://www.elastic.co/products/kibana It is relatively easy to install - https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-4-on-ubuntu-14-04
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law