Thanks for another hint! I WAS searching for 'log level' switch, but obviously not managed to locate it in FAQ section. Good to know
So another appeal to razberry manufacturer - pls update the main documentation to include this info.
And another question - why brand new installations of Z-Way (I made two of them recently) had the highest log level enabled by default?
Hmm, I think the impact of SD wear out is often being underestimated. See example of my logs three posts up - you can see there 13 lines of Z-Way log messages per minute. I guess each line (message) was written to SD card separately. So you have:
- 780 writes/h
- 18 720 writes/day
- 6 832 800 writes/year
Because these writes are so small in size (hundred bytes or so), it is very likely that they will modify the same 128kB block of SD card! Despite all algorithms used by SD card controller, intending to disperse the writes equally around the flash area (wear-leveling). Why?
SD card controller is 'wear-leveling' optimized for multi-MB pictures (so the 128kB chunks can be easily allocated all around). But it might be completely fooled when you add 200 bytes to the same file every 4 seconds.
Generic statements on SD card life span usually quote ~100 000 writes (per cell, or rather per 128kB blocks). This is way enough for multi-MB pictures. But might be not enough for poor logging occurring very frequently to the single file.
This is why I said that my two other Raspberries have been working flawlessly 24h/day for two years now. They simply don't run Z-Way (although they run other core services like DNS cache, DHCP, web cache and alike).