Hello,does anybody know how to limit the maximun size of the docabse log? I want it to be saved as a backup when it reaches a size, and a new one to created...
Thanks in advance!
I don't think we have that level of flexibility for the repository process log as it doesn't use log4j.
you could try something at the OS level. schedule a cron (if unix) or windows service (if windows), that will check for the size of the log. if the desired size is reached, copy the contents of the file to a backup file and clear the existing logs. Do not rename the existing log or delete it, as the process will loose handle on the log file. Just copy the contents to another file and clear the contents of the existing log.
-karthik
Ok. But then, what can I do to avoid the log growing and growing indefinitely until it cannot be opened by any text editor?
CS Admin guide says in the "Server log les" section
The server appends to the log file so long as the server is running. If the server is stoppedand restarted, the file is saved and another log file started.
So I don't think there's much of an option here beseides restarting the docbase every once in a while (for example on weekends, at night etc).