Don't clear logfiles at restart

Post requests for new features to this forum group. Any suggestion to expand the possibilities of Ventuz are welcome.

Don't clear logfiles at restart

Postby SamTheSwede » 18 Jan 2017, 12:05

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
SamTheSwede
 
Posts: 76
Joined: 18 Jan 2012, 11:31

Re: Don't clear logfiles at restart

Postby Karol » 18 Jan 2017, 13:47

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
User avatar
Karol
 
Posts: 458
Joined: 10 Jan 2012, 12:07

Re: Don't clear logfiles at restart

Postby SamTheSwede » 19 Jan 2017, 12:56

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
SamTheSwede
 
Posts: 76
Joined: 18 Jan 2012, 11:31


Return to Feature Requests

cron