Gratis domotica › Forums › Meld een bug › ZWave Log does not stop…
Tags: log delete template
- Dit onderwerp bevat 9 reacties, 3 deelnemers, en is laatst bijgewerkt op 2 jaren, 9 maanden geleden door
LaplaceII.
-
AuteurBerichten
-
maart 2, 2018 om 9:28 pm #11859
LaplaceII
BijdragerHello,
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!
Michaelmaart 6, 2018 om 10:48 pm #11860K.Rens
SleutelbeheerderHi,
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.Rensmaart 7, 2018 om 2:01 pm #11861LaplaceII
BijdragerHello 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
Michaelmaart 7, 2018 om 11:43 pm #11863K.Rens
SleutelbeheerderAnother solution is using blocky to just empty the log again.
You can every night for instance empty this file.Kind regards,
K.Rensmaart 8, 2018 om 12:00 pm #11864LaplaceII
BijdragerHello 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
Michaelmaart 9, 2018 om 12:14 pm #11865djandib
BijdragerHi,
@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 verifiedmaart 9, 2018 om 11:37 pm #11870LaplaceII
BijdragerThanks 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 om 9:03 am #11875LaplaceII
BijdragerHello,
is there a workaround planned?
Regards
Michaelapril 11, 2018 om 10:09 pm #11879K.Rens
SleutelbeheerderYou 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 om 11:44 am #11880LaplaceII
BijdragerThanks for the hint Koen!
-
AuteurBerichten
- Je moet ingelogd zijn om een reactie op dit onderwerp te kunnen geven.