Closed cramforce closed 3 years ago
@cramforce Could you use: https://github.com/zwave-js/zwavejs2mqtt ?
Possibly-ish :)
I had not seen that at all. Looks great. I would probably migrate to this if I have a very free weekend.
Any chance you have an answer to the original question for the short-term?
Actually the logs are appended AFAIK. If it is handeld by an option on driver you can set that option in settings.json
OK, tested it. Yeah, logrotate
with copytruncate
works just fine. Thanks!
Hey,
My understanding is that OpenZWave supports 2 modes for opening the logging file:
I'm wondering which one is used by Zwave2Mqtt today. I'm happy to send a PR to document this, and if it isn't (2) I'd look into adding an option to enable that.
I'm looking into (2) primarily to enable more traditional copy/truncate log rotation.
Thanks for this amazing project!