Prevent log size

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
zoic22
Posts: 45
Joined: 04 Apr 2014 14:21

Prevent log size

Post by zoic22 »

Hi,

I wanted to know if you have provided a mechanism for cleaning logs ? Because the log file grown much bigger and fill the filesystem (more than 1go).
StatikPulse
Posts: 14
Joined: 06 Mar 2014 22:14

Re: Prevent log size

Post by StatikPulse »

You best bet is to probably to use Logrotate. http://www.thegeekstuff.com/tag/debian-logrotate/
zoic22
Posts: 45
Joined: 04 Apr 2014 14:21

Re: Prevent log size

Post by zoic22 »

Yes but I think an option to configure zway (like log level : Debug, Error) it's good idea and It can improve perf au zway (raspberry pi is very very slow to write file on SD card).

Edit :
I found this option : Use log-level 6 and http-log-level 4 in /opt/z-way-server/config.xml
Post Reply