[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1731
  • Last Modified:

Windows SharePoint Services HTTP log file, configuration, deletion and "prevention"?

Dear guys,

Scenario:
A server with Windows Server 2003 SP2 and Microsoft Office SharePoint Server 2007.

Under "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Logs\[some ID]\" is for each (since a long time) day created one subfolder per day, having a name of the format "[YYYY-MM-DD]".
In each of the "[YYYY-MM-DD]" subfolder, is found one 00.log file.

The first line of a 00.log file says "Windows SharePoint Services HTTP log file".

In IIS exists a number of Web Sites, but none for which I see logging into the above mentioned subfolders.

Hence my questions:
1. What is creating the "[YYYY-MM-DD]" subfolders and the 00.log file?

2. Where is '1' configured?

3. Can I delete older files (and/or what is the impact)?

4. Can I prevent '1'?

Kind regards,
Soren
0
slemmesmi
Asked:
slemmesmi
  • 2
  • 2
2 Solutions
 
PstryCommented:
1) Usage Analysis Processing component. This is not related to IIS logging

2) Look at Central Administration > Operations > Usage Analysis Processing

3) You can safely delete ALL files (and folders). In fact, only the newest folder is being processed at night. Older (already processed) folders can be safely deleted. However - you must be sure that usage analysis processing already took place (it might not, eg. if server was down).

4) Turn off logging and processing in Central Administration > Operations > Usage Analysis Processing
 
0
 
slemmesmiAuthor Commented:
Dear Pstry,

thank you very much for your reply/precise answers.
Can you clarify how I can determine if "usage analysis processing already took place"?

Kind regards,
Soren
0
 
PstryCommented:
Look at Central Administration > Operations > Timer Job Status. You will see three job types:

- Usage Analysis - WSS jobs for each web application - provide basic analysis
- Office Sharepoint Usage Analytics Log Import - imports 00.log file to the SSP database
- Office Sharepoint Usage Analytics Processing - prepares imported data for reporting

Now - check if jobs succeeded and what is their start time. Normally these jobs run at 1:00-2:00 for several minutes, so when you come to work at morning files are already processed and can be safely removed.

Note that if you do not need any usage analysis - you may delete files at once (and turn off processing in Central Admin Site).
0
 
slemmesmiAuthor Commented:
Dear Pstry,

excellent - thanks for your exhaustive answers which I will fully accept and reward.
All the best to you!

Kind regards,
Soren
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now