OZW_log.txt filling up quick

Is there any way to make the zwave component log less?
Since I included an energy meter with quite rapid refresh rate it fills up the log quick to huge amounts of data.
Not really interested in the “Detail” lines, happy if I can keep the “Info” only.

2017-10-10 10:48:16.599 Info, Node015, Received a MultiChannelEncap from node 15, endpoint 1 for Command Class COMMAND_CLASS_METER
2017-10-10 10:48:16.599 Detail, Node015, Refreshed Value: old value=false, new value=false, type=bool
2017-10-10 10:48:16.599 Detail, Node015, Changes to this value are not verified
2017-10-10 10:48:16.599 Info, Node015, Received Meter report from node 15: Current=1.794A
2017-10-10 10:48:16.600 Detail, Node015, Refreshed Value: old value=1.816, new value=1.794, type=decimal
2017-10-10 10:48:16.600 Detail, Node015, Changes to this value are not verified
2017-10-10 10:48:16.600 Info, Node015, Previous value was 0.000A, received 20 seconds ago.
2017-10-10 10:48:16.600 Detail, Node015, Refreshed Value: old value=57213.952, new value=0.000, type=decimal
2017-10-10 10:48:16.600 Detail, Node015, Changes to this value are not verified
2017-10-10 10:48:16.600 Detail, Node015, Refreshed Value: old value=20, new value=20, type=int
2017-10-10 10:48:16.600 Detail, Node015, Changes to this value are not verified
2017-10-10 10:48:16.600 Detail, Node015, Notification: ValueChanged
2017-10-10 10:48:16.609 Detail, Node015, Notification: ValueChanged
2017-10-10 10:48:16.619 Detail, Node015, Notification: ValueChanged
2017-10-10 10:48:16.631 Detail, Node015, Notification: ValueChanged

Check out the options.xml file for openzwave:
https://github.com/OpenZWave/open-zwave/wiki/Config-Options

2 Likes

Necro’d 'cause I also have energy meter plugs and my ozw_log.txt is nearly the same size as my hass database after just 1 week… 1.3GB!

Using the info posted above, I added this line to my options.xml file (I think the default log level may be 7 or higher):

<Option name="SaveLogLevel" value="6" />

That got rid of most of the junk traffic, however I’m left with the ridiculously large ozw log file. Can I safely delete the ozw_log.txt file the same way as I would delete a homeassistant_v2.db file… ssh in, stop hass, rm the file, then reboot and hass will recreate the file and work fine after? …or does that not work for the ozw log?

[edit: I answered my own question… yes it worked.]