Diagnostic Logs
-
Friday, September 14, 2012 5:24 PM
I have recently noticed that my logs are getting very large than they use to be. The file size has increased from 20KB to 73,000KB!!
- Changed Type GuYumingMicrosoft Contingent Staff, Moderator Friday, September 21, 2012 9:59 AM
All Replies
-
Friday, September 14, 2012 5:36 PMHave you set verbose logging for any of the categories in Central Administration?
-
Friday, September 14, 2012 5:56 PMNothing that i can see under Monitoring. I have the log retention set to 1 day, nothing has been selected under event throttling, and the Enable Usage Data Collection is unticked! and the same with Health Data.
-
Friday, September 14, 2012 6:14 PMCan you try restarting SharePoint 2010 Tracing Service on all servers? Can you open the ULS log file to see if any events are being logged very frequently say Category=High?
-
Friday, September 14, 2012 7:06 PM
Open the SharePoint PowerShell and run the "Get-SPLogLevel" cmdlet.
It should tell you if you've got any Trace Severity levels turned up or event severities turned to verbose.
Full description of various logging in SharePoint can be found here: http://msdn.microsoft.com/en-us/library/gg193966.aspx
Also, if you run the "Clear-SPLogLevel" cmdlet it will set your farm back to default logging levels.
- Edited by ieDaddy Friday, September 14, 2012 7:11 PM
- Marked As Answer by GuYumingMicrosoft Contingent Staff, Moderator Friday, September 21, 2012 9:59 AM
-
Monday, September 17, 2012 5:28 AM
Hi fasttest,
besides check "configure diagnostic logging" http://technet.microsoft.com/en-us/library/ee748656.aspx
you should better use the unified logging services(ULS) to watch whether there are some error casue the issue. http://go.microsoft.com/fwlink/?linkid=194152
http://blogs.msdn.com/b/sofocle/archive/2012/01/03/monitoring-sharepoint-2010.aspx
-
Tuesday, September 18, 2012 7:26 AM
Hi fasttest,
Generally speaking, the value of "logcutinterval" control the log file size.When the specified time limit expires, the active log file is closed and a new log file is created.
have you read the related article: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdiagnosticsservice.logcutinterval(v=office.12).aspx
- Marked As Answer by GuYumingMicrosoft Contingent Staff, Moderator Friday, September 21, 2012 9:59 AM
-
Tuesday, September 18, 2012 3:16 PMCool, so how can i change this limit?
-
Tuesday, September 18, 2012 3:26 PM
Set-SPDiagnosticConfig Set-SPDiagnosticConfig -LogCutInterval 60- Marked As Answer by GuYumingMicrosoft Contingent Staff, Moderator Friday, September 21, 2012 10:02 AM

