Hi all, could you please share what are the best practices to collect logs from espeasy. As esp has limited amount of ram then there Is no ability how to get log data after crash.
Thanks for idea
Vojta
Best practice to collect logs
Moderators: grovkillen, Stuntteam, TD-er
Re: Best practice to collect logs
If you want to collect logs over a period of time why not set up a syslog server. I have one running as a service on my Media PC (which also hosts openhab2 and mosquitto)
Through the advanced settings on ESPeasy you can then point the ESPeasy device to the syslog server ip address and set the level of loggin that you require.
I used free syslog software, though I cant right now remember the name of it.
Through the advanced settings on ESPeasy you can then point the ESPeasy device to the syslog server ip address and set the level of loggin that you require.
I used free syslog software, though I cant right now remember the name of it.
Re: Best practice to collect logs
Just wondering If there is any option to run syslog on raspberry pi along with domoticz server. That would be best solution for me.Justblair wrote: ↑24 May 2017, 09:38 If you want to collect logs over a period of time why not set up a syslog server. I have one running as a service on my Media PC (which also hosts openhab2 and mosquitto)
Through the advanced settings on ESPeasy you can then point the ESPeasy device to the syslog server ip address and set the level of loggin that you require.
I used free syslog software, though I cant right now remember the name of it.
Re: Best practice to collect logs
A Respberry usually uses Raspbian, a Debian variant.
There are some SysLog servers availlable with raspbian/Debian, for example "syslog-ng".
As long as there is no syslog server already running, just do a
Code: Select all
sudo apt-get update
sudo apt-get install syslog-ng
it might need some config, i can't check here at the office.
Regards
Shardan
Regards
Shardan
Shardan
Re: Best practice to collect logs
Configured, conf file adjusted. Working like a charm right now.
Thanks Shardan a lot
If someone else needed to help with that, then please let me know, I will guide you.
Thanks Shardan a lot
If someone else needed to help with that, then please let me know, I will guide you.
Who is online
Users browsing this forum: Ahrefs [Bot] and 32 guests