Replies: 2 comments 1 reply
-
Nope data in container will not be lost by changing the logging driver, simply update your docker-compose file and run |
Beta Was this translation helpful? Give feedback.
0 replies
-
Good to know that you can update a container without destroying the data. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today I found out the the logfile of the docker container where zwave-js-ui is running is was quite large 6GB+
I'm quite a noob with this but I've managed to delete the log files. But I assume these logfiles will be recreated and grow again. Is there something I can do to stop this (by logrotate and or limit the log file size)?
After googling I found someone who said that the following code needs to be added in the yaml file
logging: driver: "json-file" options: max-size: "10m" max-file: "10"
But do I then have to recreate the container and if yes then I assume all data in it (and therefore zwave-js-ui) is gone. SO hope there is another way?
Beta Was this translation helpful? Give feedback.
All reactions