Page 1 of 1

Prevent log size

Posted: 04 Apr 2014 14:30
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).

Re: Prevent log size

Posted: 04 Apr 2014 14:48
by StatikPulse
You best bet is to probably to use Logrotate. http://www.thegeekstuff.com/tag/debian-logrotate/

Re: Prevent log size

Posted: 14 Apr 2014 11:55
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