iostream212 Posted December 12, 2011 Posted December 12, 2011 Just starting to really fine tune my setup and have been using logs a lot. Couple of questions regarding logs: Can I automate my logs? For example write a program to send contents each month as an excel attachment and then purge? Also why is the error log a different format than the regular log? The regular log opens in excel all formatted, yet the error log is a text file. It is not consistent program behavior. To deal with the error log I have to import the file into excel, and then set the delimiters to even read the thing. Just a few suggestions. Sent from my A500 using Tapatalk
Michel Kohanim Posted December 12, 2011 Posted December 12, 2011 Hello iostream212, You can if you have an external device using our REST interface: /rest/log /rest/log?reset=true ... clears all system log entries /rest/log/error /rest/log/error?reset=true ... clears all error log entries There were a few reasons for the differences between the two and mostly historical: 1. The System Log captured events from devices and programs and, originally, included error information too which became quite unmanageable 2. The System Log is transmitted in CSV and used minimal amount of information ... it's basically the Admin Console that translates those values (such as time in NTP, and device address) to human readable form and then into Excel 3. The System log has to capture more parameters 3. The error log, on the other hand, only has a code and then description ... this did not fit well with what we had for System Log In short, they are really different things. We still have a SysLog requirement that we haven't had a chance to look at but I think that would be the best option in the long run (though it might have a negative impact on network performance in a highly busy system). With kind regards, Michel
iostream212 Posted December 12, 2011 Author Posted December 12, 2011 Hi Michael, Very cool. I will try those in the morning. I have been working on intergrating my ISY with my Elve setup. I will see if I can get that system to do the REST... pun intended. Sent from my A500 using Tapatalk
iostream212 Posted December 12, 2011 Author Posted December 12, 2011 Just finished integrating some aspects of Elve with ISY. Now I can have ISY programs run scenes in Elve. If this continues to test well I will do a how-to write up this week. Sent from my A500 using Tapatalk
Michel Kohanim Posted December 12, 2011 Posted December 12, 2011 Hello iostream212, I think Bob was working on an Elve driver for ISY: http://www.bobsplace.com/ElveWUnderground/ You might want to contact him. With kind regards, Michel
iostream212 Posted December 12, 2011 Author Posted December 12, 2011 I was talking with Bob a few months ago if the project was still moving forward. It has been in alpha stages for a long while now and I was thinking of just writing a driver for Isy myself just to get the thing certified with Elve. In any event it does seem he is still working on it. It is just difficult because isy supports so many things that a single driver in Elve is really like 5 drivers if you count add-ons. And then getting a logical layout within a single driver that supports so much is quite daunting. Or we could do five individual drivers, but that may make some Elve users upset since the lowest flavor only allows fifteen device drivers.
Michel Kohanim Posted December 13, 2011 Posted December 13, 2011 Hi again, Thanks for the update. I was not personally involved in that integration work so I didn't know. With kind regards, Michel
Recommended Posts