Usage Analysis Processing Log File
Hello- I am wondering if anyone can help with this issue. my log file for Usage Analysis Processing are getting big and need to know if i can relocate to another drive besides the default location (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Logs)? The log files are only taking space on the Central Administration Server and the rest of them are relatively small. If I change the location on Central Administration Server to D:/logs, do I need to change the location for all the servers too? Also, will this need a reboot? Thanks
February 16th, 2010 6:52pm

Todd Klindt has done a pretty good post on how to move these logs: http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?List=56f96349-3bb6-4087-94f4-7f95ff4ca81f&ID=73 Short answer: if you set it in Central Admin, it will change the storage location on all SharePoint servers in your farm. For it to work, the location you specify must already exist on each of these servers . Todd covers it well in his post, I just wanted to highlight the major point that's tripped me up in the past. It shouldn't require a reboot...at most it would need a App Pool or IIS reset, but I don't think those are necessary either. JohnMCTS: WSS v3, MOSS 2007, and SCOM 2007 Now Available on Amazon - The SharePoint 2007 Disaster Recovery Guide.
Free Windows Admin Tool Kit Click here and download it now
February 16th, 2010 8:21pm

Thanks but the link you provided is for the ULSLOGS which i have them on place. Do you know if this also applies to the Usage Analysis Processing logs? Again, thanks!
February 17th, 2010 9:22pm

My apologies, I was confused with that. Based on what I'm seeing, the same holds true for UAP logs: http://technet.microsoft.com/en-us/library/cc261966.aspx JohnMCTS: WSS v3, MOSS 2007, and SCOM 2007 Now Available on Amazon - The SharePoint 2007 Disaster Recovery Guide.
Free Windows Admin Tool Kit Click here and download it now
February 17th, 2010 9:41pm

Hi Jsanz, Usage analysis is not enabled by default. If you want to use the usage analysis features for your server, you must enable the usage analysis logging process. Log files are created daily to track usage information. When the log file is processed, a flag is added to indicate that is has been processed. If you do not want to track usage analysis data and you want to conserve disk space, you can turn off data logging for usage analysis. By default, the log files are in %programfiles%\common files\microsoft shared\web server extensions\12\logs. Inside this folder is a folder for every Web application, and under those folders, folders for each day. You can specify any other location you prefer. You can specify that up to 30 log files are created. Note: If you choose a different log file location, you must be sure to give the STS_WPG user group Read, Write, and Update permissions to the directory. Without these permissions, the usage log files cannot be created or updated. For more information about Usage Analysis, please refer to the following article: Usage Analysis: Stsadm properties (Office SharePoint Server) http://technet.microsoft.com/en-us/library/cc263478.aspx Hope this helps. Rock WangRock Wang MSFT
February 18th, 2010 7:52am

Thanks Rock but i am still unsure how to do this. the usage analysis is enabled and everything is working fine. The log files are going to default %programfiles%\common files\microsoft shared\web server extensions\12\logs folder but are getting too big. I want to change the location to D:\usageanalysislogs and will like to know how to do this. I have created a folder (D:\usageanalysislogs) on all the servers in the farm except the SQL server but i want to be sure when i change the location it won't affect the users. Hope this is clear and thanks for your help.
Free Windows Admin Tool Kit Click here and download it now
February 18th, 2010 8:03pm

Hi Jsanz, From your reply, you had created a folder named usageanalysislogs under D: driver on all MOSS server except SQL server. Then you must be sure to give the WSS_WPG user group Read, Write, and Update permissions to the directory. Without these permissions, the usage log files cannot be created or updated. Finally click Usage Analysis Processing, input the new folder under log filer location. Then check the effect. Hope this helps. Rock WangRock Wang MSFT
February 19th, 2010 5:13am

Thanks Rock. I was able to re-direct Usage Analysis Processing Log File to another drive.
Free Windows Admin Tool Kit Click here and download it now
February 23rd, 2010 9:28pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics