Free domotica! › Forums › Report a bug › ZWave Log does not stop…
Tagged: log delete template
- This topic has 9 replies, 3 voices, and was last updated 2 years, 10 months ago by
LaplaceII.
-
AuthorPosts
-
March 2, 2018 at 9:28 pm #11859
LaplaceII
ParticipantHello,
In the service för zwave is an option to stop the logging. If I choose ‘no’ the Logging doesn’t stop. Andy hints to stop the logging?
Thanks in Advance!
MichaelMarch 6, 2018 at 10:48 pm #11860K.Rens
KeymasterHi,
Why would you want to do that?
If you really want it, you can change it inside the services/zwave/config folder.
There is a zwave config file, allowing you to set the log level.
Or you can via ssh make the log file read-only:
sudo chmod 444 /volume1/web/PulseStation/Services/zwave/zwave.log
file
The option to set logging to no, only reduces it a little bit.Kind regards,
K.RensMarch 7, 2018 at 2:01 pm #11861LaplaceII
ParticipantHello Koen,
thanks for you reply ande hints!
Yes there is a reason for it: The OZW_Log.txt file becomes bigger during the system is running (>100MB). Eventhough if I delete the content by using this option within PulseStation the file size drops to zero. But if the next log is initiated the filesize is again >100MB…Regards
MichaelMarch 7, 2018 at 11:43 pm #11863K.Rens
KeymasterAnother solution is using blocky to just empty the log again.
You can every night for instance empty this file.Kind regards,
K.RensMarch 8, 2018 at 12:00 pm #11864LaplaceII
ParticipantHello Koen,
thanks for the response. I use blockly to delete the logs. It works fine for the core, scene and weather log. But for the zwave log I have the effect I described above.
Am I the only one with this issue? Then its up to me to solve it. But if there are other users with the same issue it could be a bug….Would be great to hear experiences of other users…Regards
MichaelMarch 9, 2018 at 12:14 pm #11865djandib
ParticipantHi,
@Koen: I can confirm what Michael says: The template “logs delete” has a problem with zwave.
My scene “Log delete” runs every night at 3:00.Here is the actual output:
���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������2018-03-09 03:03:02.684 Detail, Node041, Received: 0x01, 0x0c, 0x00, 0x04, 0x00, 0x29, 0x06, 0x31, 0x05, 0x04, 0x22, 0x00, 0x00, 0xca
2018-03-09 03:03:02.684 Detail,
2018-03-09 03:03:02.684 Info, Node041, Received SensorMultiLevel report from node 41, instance 1, Power: value=0.0W
2018-03-09 03:03:02.684 Detail, Node041, Refreshed Value: old value=0.0, new value=0.0, type=decimal
2018-03-09 03:03:02.684 Detail, Node041, Changes to this value are not verifiedMarch 9, 2018 at 11:37 pm #11870LaplaceII
ParticipantThanks for your confirmation.
I have the same symbols in my log. As is wrote the file size is getting bigger and bigger even though if it es cleared (independent if the deletion is done by blocky, in the zwave menu)
Regards
MichaelApril 11, 2018 at 9:03 am #11875LaplaceII
ParticipantHello,
is there a workaround planned?
Regards
MichaelApril 11, 2018 at 10:09 pm #11879K.Rens
KeymasterYou can disable the logging inside zwave itself:
https://github.com/OpenZWave/open-zwave/blob/master/config/options.xmlJust put true to false in the options.xml file for logging.
You can find it in the folder: PulseStation\services\zwave\config
Kind regards,
K.RensApril 12, 2018 at 11:44 am #11880LaplaceII
ParticipantThanks for the hint Koen!
-
AuthorPosts
- You must be logged in to reply to this topic.