zwave-js / zwave-js-ui

Full featured Z-Wave Control Panel UI and MQTT gateway. Built using Nodejs, and Vue/Vuetify
https://zwave-js.github.io/zwave-js-ui
MIT License
987 stars 201 forks source link

[Bug]: Log rotation not working #2471

Closed decairn closed 2 years ago

decairn commented 2 years ago

Checklist

Deploy method

Docker

Zwavejs2Mqtt version

6.12

ZwaveJS version

9.3.0

Describe the bug

A couple of things here I notice: 1 - Expecting a 7-day (?) rotation but the logs are accumulating daily 2 - There's a gap or two in daily log name zips (and I haven't manually deleted any) e.g. June 1 and June 8 in attached file list.

The zwavejs log is rotating every 7 days so this is restricted to zwavejs2mqtt only.

Running from HA with Frenk add-on, if that matters

Gaps in daily log list Configuration .

To Reproduce

Configure as per attached configure file. Let it run > 1 week.

Expected behavior

Logs rotate, directories don't grow with files unmanaged. One archive per day, no gaps.

Additional context

No response

robertsLando commented 2 years ago

I did some checks a while ago and it was working but I know you are not the only one having by this problem, I will investigate on this