Wednesday, August 12, 2009

[MOSS/WSSv3] Large log files with default logging options

[ISSUE]
When you configured the SharePoint logging as default, it is very much possible that the logs are filled with "Preserving template record with id....." messages. You would expect these messages only to be logged when logging is set to Verbose mode.

[SOLUTION]
The question how to solve this issue has been asked a lot on the Internet, for example on the MS Forums. Unfortunately nobody had a real answer. But since a couple of months, Microsoft fixed this issue. The April Cumulative Update now contains a fix for this issue:


When you set the least critical event to report in the Event log to ERROR, and you set the least critical event to report to the trace log to MEDIUM, the following messages are logged in the Unified Logging Service (ULS) logs:
Preserving template record with size…
Deleting template record with size…
However, you only expect these ULS messages to appear if the logging level for General is set to Verbose.


Just install this update and you are good to go!!

2 comments:

abdul said...

Hello,

Can any body explain me what a Issue Log means in Microsoft Sharepoint 2007

I have given the task to create document library with some specific fields and link field which you link to Sharepoint Issue Log to record issues for that record.

so when I create a new item in the document library i will hav to add the metadata field values along with the word document and then also Issue Log as well it seems

I dont know what an Issue Log means when I asked some body told me its just like wiki or blog template similary its Issue Log

Also is Issue Tracking List and Issue Log is same?

could any one please clarify this if possible please give me an example a_afroze@yahoo.com

Many Thanks,
Abdul Afroz.

abdul said...

Hello,

Can any body explain me what a Issue Log means in Microsoft Sharepoint 2007

I have given the task to create document library with some specific fields and link field which you link to Sharepoint Issue Log to record issues for that record.

so when I create a new item in the document library i will hav to add the metadata field values along with the word document and then also Issue Log as well it seems

I dont know what an Issue Log means when I asked some body told me its just like wiki or blog template similary its Issue Log

Also is Issue Tracking List and Issue Log is same?

could any one please clarify this if possible please give me an example a_afroze@yahoo.com

Many Thanks,
Abdul Afroz.