v4.1.4: set the server log location and retention

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

v4.1.4: set the server log location and retention

Post by kha » Wed Aug 11, 2010 3:21 pm

Is it possible for us to set the vault server log to save somewhere else instead of default location on the server C:\WINDOWS\Temp\sgvault :?:

Also, it looks like the logs got saved in the default location for more than 1yr. Is there anyway I can shorten the retention of the logs?

Thanks in advance :D

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: v4.1.4: set the server log location and retention

Post by Beth » Thu Aug 12, 2010 8:09 am

In the Vault admin web page under the logging link, you can change the location of the log.

Vault doesn't delete the old logs. I could take a feature request for that functionality if you would like.

In the meantime, you could create a .bat or .cmd file with the delete command and use the task scheduler to run it every so often to delete the archived logs. For example, del c:\windows\temp\sgvault\10*sgvault.log would delete any logs archived in the year 2010. If you take the 10 out, then it would delete the current logs as well, which only becomes a problem if you are troubleshooting an issue.
Beth Kieler
SourceGear Technical Support

kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

Re: v4.1.4: set the server log location and retention

Post by kha » Fri Aug 13, 2010 1:22 pm

Thanks, Beth. Please add my request to have option to manage the log retention. :D

Post Reply