Logging on the server

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

Moderator: SourceGear

Post Reply
IainMartin
Posts: 11
Joined: Tue Apr 29, 2008 2:45 am

Logging on the server

Post by IainMartin » Tue Apr 29, 2008 9:32 pm

Hi,

Is there a way to track who downloads what data from each repository within the server. I can see options on the client, and if I use brief reporting I get nothing, Debug reporting, far more, but meaningless.

Is there a simple way to log who downloads / uploads files. Parts of this organization can be quite anal that way. I am using 4.1.1.18060

Thanks in anticipation

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

Post by Beth » Wed Apr 30, 2008 8:28 am

Check ins (which covers uploads) are tracked in History. A history query will show all of that information.

As far as tracking every time a person performs a Get and on what, I can put in a feature request on that if you want. Is there a particular reason for tracking every Get?

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

Post by Beth » Wed Apr 30, 2008 9:26 am

I need to modify what I said here. You can parse the log file to look for "Downloading delta for." That shows a file being pulled down. If the file needed no update and the person performs a get, then that line isn't there.

To get a better idea of what it will look like, rename your sgvault.log so you have something fresh to start with, then remove your files you will be downloading from your disk. Then open Vault and perform a Get on the files you removed. When you check the log right after that, you will see the "Downloading delta for" for each file.

Also, this is only when the logging is set to the Debug level. That is done in the admin web pages under logging. An iisreset is needed after changing and saving that setting (Start - Run - iisreset).

IainMartin
Posts: 11
Joined: Tue Apr 29, 2008 2:45 am

Post by IainMartin » Wed Apr 30, 2008 7:00 pm

Yes, I noticed the Geting delta for in the log file.

The request was due to the nature of this government depts feudal and paranoid ways. One department here who has a programming staff, who shouldn't have it are intersted in using Vault, but they are so paranoid of other staff knowing what their code does, and want to log all access to it, I know, security on repositories etc, which I have enabled, but, I am told they still want logs so they can review.

I was considering looking at IIS to see if it can handle the logging, but its not a high priority, just paranoia setting in

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

Post by Beth » Thu May 01, 2008 5:13 pm

Well, ok. Same answer then.

Do they need access to other people's repositories? If not, have they considered just having their own internal Vault server?

Or, if they wish to have employees document more about the work they do, they could take a look at Fortress. :wink:

Post Reply