Page 1 of 1

Don't clear logfiles at restart

Posted: 18 Jan 2017, 12:05
by SamTheSwede
One thing that's been annoying me is that the logfiles are cleared upon start of Ventuz.

I would like to be able to set a maxsize for logfiles in the configuration editor and that logevents are appended to the logfile until maxsize is reached. After that delete from top when adding stuff to the log.

This would be very helpful when debugging crashes and what not. In a production environment you want to restart and get back as soon as possible without worring about backing up logfiles before you restart.

All the best,

Sam

Re: Don't clear logfiles at restart

Posted: 18 Jan 2017, 13:47
by Karol
Hi Sam!

This is a good point. I'll write a feature request ticket for that.
In the meanwhile, there is a start-up option: -al
This will cause Ventuz to keep the existing log file and append new logs. But this can make the log file very huge!
See: http://www.ventuz.com/support/help/late ... s.html#LOG

Best Regards
Karol

Re: Don't clear logfiles at restart

Posted: 19 Jan 2017, 12:56
by SamTheSwede
Great Karol! I'm looking forward to the new feature!

My workaround until now has been to give the users a restart.bat that copies the logfile, and starts Ventuz.

This will be a lot better! I'm affraid I don't really dare to use te -AL option since most Machines run 24/7/365 without restarts (and I log quite a lot)

// Sam