Jump to content

Openweathermap constantly logging in logfile on ISY994


Recommended Posts

Posted

Although I am fairly experienced with my ISY and making it do what I want, I am not able to figure out why my openweathermap integration is blasting SO MUCH INFORMATION into my log file?  I just don't really know how to ask it to stop logging anything, or only log critical events?  Can anyone tell me what the following buttons do:  RE-DISCOVER, REMOVE NOTICES and UPDATE PROFILE?  Additionally, no matter what I choose in the pull down for logging level, then click the LOGGING LEVEL button, my logfile still gets blasted with tons of information.  It's not really a problem, I would just rather the logfile not grow so fast.  Any guidance is welcome and thank you for the great support!  I could not manage without my ISY. 

logging-level.PNG.41766d2303528f385d01a7817bbb0c9c.PNG

Posted

Setting the log level to error should reduce the messages down to just error messages.  

Re-Discover causes the node server to review the nodes it's created.  It will do this every time it start automatically and if you change the Forecast Days parameter as that's the only way to change the nodes it creates.

Remove Notices will clear any notices the node server has displayed on the Polyglot dashboard-details screen. 

Update Profile will cause the node server to resend the profile files to the ISY.  This also happens automatically when the node server is installed, but in some cases, the ISY is unable to accept the files (maybe it was too busy) so the option is there to resend them manually.

Posted

@jukeman do you mean the nodeserver log, or the admin console log: Tools > Log ?

Node servers certainly do blast alot of information into the ISY log, mines currently > 61k rows and covers less than 24 hours.   If this is the log file you mean you'd need to slow down updates from the node server to slow the logfile buildup.

Posted

@BPWWER:  Thank you for the guidance; and I already had the logging level set to critical for a while, then to OFF.  I'm not sure that I implemented the change correctly?  First, I selected Critical in the drop down, THEN I clicked LOGGING LEVEL, thinking that executed my wish from the drop down?

@MR. BILL:  Yes, It is the ISY log file, Tools> Logfile that is growing like wild.  I NOW understand that every time the node server communicates to the ISY, a notable amount of information is placed in the ISY LOGFILE.  That would explain, that no matter what logging level I select on the ISY screen above, including OFF, I still get a notable amount of information in the logfile from the NODE SERVER.  Given your experience, do you have a recommended interval that I should set from the NODE server for updates?

Any feedback and recommendation is sincerely appreciated.  Good day all! 

Posted
12 minutes ago, jukeman said:

Given your experience, do you have a recommended interval that I should set from the NODE server for updates?

That's nodeserver specific and kind of a user preference too... I don't use that nodeserver, so I'll let @bpwwer give you better guidance since he wrote it.  I just had a feeling when I read your post and his response that there was a disconnect about WHICH log was being spoken of.... 

Posted
17 minutes ago, jukeman said:

Any feedback and recommendation is sincerely appreciated.  Good day all! 

I think the only configuration you have is the "Short Poll" value for the nodeserver.  I believe the default is set for 10 minutes.  You might change that to 30 minutes or higher if up-to-the-minute weather data isn't necessary.  Also, the ISY seems to handle it's own log files intelligently, as it seems to peel off log data as necessary, so the local ISY filesystem isn't over filled with log data.  At least it's never happened to me, and I have quite a few nodeservers than absolutely pummel the ISY with data.  In short, I probably wouldn't worry much about it, as the ISY seems to manage under the load just fine.  Just my 2¢...

Posted

@BUMBERSHOOT:  Thanks so much for the reply, and the comments not to worry about the logfile growing at a large rate.  Do you periodically dump the logfile, just in an effort to keep it manageable?  Also, will the ISY decide the send fewer events to the logfile IF it grows to some gigantic size??  Thanks for answering my constant questions.  :)

Posted
4 minutes ago, Bumbershoot said:

as it seems to peel off log data as necessary, so the local ISY filesystem isn't over filled with log data.

I agree this happens... I almost now wish for a bigger file tho,  the history available in mine is less than 24 hours meaning that if I want to look anything up I've gotta be on top of the situation.   I don't use that log alot but it has come in handy in the last week figuring out why a light was randomly turning on (which is how I happen to know that mine  only has 16-20 hours of information available now).

Posted
46 minutes ago, jukeman said:

@BUMBERSHOOT:  Thanks so much for the reply, and the comments not to worry about the logfile growing at a large rate.  Do you periodically dump the logfile, just in an effort to keep it manageable?  Also, will the ISY decide the send fewer events to the logfile IF it grows to some gigantic size??  Thanks for answering my constant questions.  :)

I only dump the log when I'm done looking through it for something specific, which isn't very often at all.  I think the ISY maintains the log so it never gets over a specific size, by deleting the oldest entires.  I don't know how many entries can be in the log at one time, but you might export it and see how many rows are in the spreadsheet.  Maybe that might give you a clue as to how many rows you can expect to get in any single log file.

Posted

The node server does try to minimize the data sent to the ISY (and thus minimize the log entries) by only sending data when it has changed. But some weather data values do change frequently and the only way to change how often is to change the poll interval.  

This is one of the reasons I try to be somewhat selective in the weather data presented by the weather node servers.  The more different values the node server tracks, the more data that has to be sent to the ISY.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...