<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MOSS@MS</title><link>http://blogs.technet.com/paulki/default.aspx</link><description>paulki {msft}

EMEA Escalation Services</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Returning search results as XML</title><link>http://blogs.technet.com/paulki/archive/2009/03/02/returning-search-results-as-xml.aspx</link><pubDate>Mon, 02 Mar 2009 14:32:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3208206</guid><dc:creator>paulki</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/paulki/comments/3208206.aspx</comments><wfw:commentRss>http://blogs.technet.com/paulki/commentrss.aspx?PostID=3208206</wfw:commentRss><description>&lt;p&gt;&lt;font face="Calibri" size="2"&gt;When troubleshooting search problems you may want to be able to see search results without the XSLT transformation.&amp;#160; In other words in XML without the formatting.&amp;#160; This can be useful when troubleshooting search results because it enables you see the raw XML data so you can see all of the fields.&amp;#160; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;By default you see search results as follows :&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/ReturningsearchresultsasXML_C073/image_4.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="266" alt="image" src="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/ReturningsearchresultsasXML_C073/image_thumb_1.png" width="439" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" color="#000000" size="2"&gt;To see the underlying XML follow the steps below.&lt;/font&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;font face="Calibri" color="#000000" size="2"&gt;Click on Site Actions, Edit Page. &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font face="Calibri" color="#000000" size="2"&gt;In the Search Core Results we part click edit, Modify Shared Web Part.&amp;#160; Next click the XSL Editor button. &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font face="Calibri" color="#000000" size="2"&gt;Replace the existing XSL with the XSL below (save off the existing XSL if you wish)&lt;/font&gt;       &lt;table cellspacing="4" cellpadding="0" width="400" border="0"&gt;&lt;tbody&gt;         &lt;tr&gt;           &lt;td valign="top" width="390"&gt;&lt;font size="2"&gt;&lt;font face="Courier New"&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;xsl:stylesheet&lt;/span&gt; version=&amp;quot;1.0&amp;quot;                   &lt;br /&gt;&amp;#160; xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;                   &lt;br /&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;xsl:output&lt;/span&gt; method=&amp;quot;xml&amp;quot; version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; indent=&amp;quot;yes&amp;quot;&lt;span style="color: blue"&gt;/&amp;gt;&lt;/span&gt;                   &lt;br /&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;xsl:template&lt;/span&gt; match=&amp;quot;/&amp;quot;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;                   &lt;br /&gt;&amp;#160; &lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;xmp&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;xsl:copy-of&lt;/span&gt; select=&amp;quot;*&amp;quot;&lt;span style="color: blue"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon"&gt;xmp&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;                   &lt;br /&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon"&gt;xsl:template&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;                   &lt;br /&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon"&gt;xsl:stylesheet&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;         &lt;/tr&gt;       &lt;/tbody&gt;&lt;/table&gt;   &lt;/li&gt;    &lt;li&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;font face="Calibri" color="#333333" size="2"&gt;Click Save and OK then Exit Edit Mode.&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/li&gt;    &lt;li&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;font face="Calibri" color="#333333" size="2"&gt;Now search again.&amp;#160; You should see something like the results below (I've masked my server name deliberately).&amp;#160; As you can see the formatting has been removed allowing you to see only the XML.&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/li&gt; &lt;/ol&gt; &lt;span style="color: blue"&gt;&lt;span style="color: blue"&gt;     &lt;p&gt;&lt;font face="Calibri" color="#000000" size="2"&gt;&lt;span style="color: blue"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;   &lt;/span&gt;&lt;/span&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/ReturningsearchresultsasXML_C073/image_8.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="597" alt="image" src="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/ReturningsearchresultsasXML_C073/image_thumb_3.png" width="756" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3208206" width="1" height="1"&gt;</description></item><item><title>Using the ExportCrawlLog STSADM Extension</title><link>http://blogs.technet.com/paulki/archive/2009/02/04/using-the-exportcrawllog-stsadm-extension.aspx</link><pubDate>Wed, 04 Feb 2009 19:22:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3197046</guid><dc:creator>paulki</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/paulki/comments/3197046.aspx</comments><wfw:commentRss>http://blogs.technet.com/paulki/commentrss.aspx?PostID=3197046</wfw:commentRss><description>&lt;p&gt;&lt;font face="Calibri" size="2"&gt;This is a very useful tool that is available on codeplex - &lt;/font&gt;&lt;a href="http://www.codeplex.com/ExportCrawlLog"&gt;&lt;font face="Calibri" size="2"&gt;http://www.codeplex.com/ExportCrawlLog&lt;/font&gt;&lt;/a&gt;&lt;font face="Calibri" size="2"&gt;&amp;#160; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;It aims to give administrators the ability to export the Crawl log (formerly known as the Gatherer log) and is installed as a stsadm extension.&amp;#160; Although you can see the crawl log in SSP Administration by going to Search Administration, Crawl log, there is no simple way of exporting it.&amp;#160; This extension will give you the ability to export the crawl log and manipulate the output by host and/or date and time.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;&lt;u&gt;How do I install it?&lt;/u&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;Download the .zip archive form the location above and extract it.&amp;#160; Run the deploySTSADMExportCrawlLog.cmd command.&amp;#160; This may fail and report problems &amp;quot;adding assembly to the cache&amp;quot;.&amp;#160; If this is the case first use explorer to open up C:\WINDOWS\assembly.&amp;#160; Next go to the ..\bin\Release folder and drag and drop the STSADMExportCrawlLog.dll into C:\WINDOWS\assembly.&amp;#160; Check that under the ..\Common Files\Microsoft Shared\web server extensions\12\CONFIG folder there is a stsadmcommands.STSADMExportCrawlLog.xml file present.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;&lt;u&gt;How do I use it?&lt;/u&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;Start a command prompt and path to the BIN folder.&amp;#160; You will now be able to use the extension in the following way :&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Consolas" size="2"&gt;stsadm -o ExportCrawlLog     &lt;br /&gt;-t (d|s|c|p) -site &amp;lt;portal url&amp;gt; [-outfile filename] [-history] [-s startdatetime] [-e enddatetime] [-from #] [-thru #] [-cat (Portal_Content|ProfileImport)] [-csid #] [-msgid #] [-u url pattern] [-hostname hostname] [-mt (s|w|e)]      &lt;br /&gt;where -t = type: d=details, s=summary, c=content sources and start addresses      &lt;br /&gt;where -mt = Message type to include in output (applies to -t d only, if -mt is used only one message type can be specified, when -mt is omitted all types are emitted): s=success, w=warnings, e=errors      &lt;br /&gt;where -csid = the # of the content source, which you can spy in the query string of the url of the Content Source edit page.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;Here's an example :&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/UsingtheExportCrawlLogSTSADMExtension_F2C9/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="552" alt="image" src="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/UsingtheExportCrawlLogSTSADMExtension_F2C9/image_thumb.png" width="1071" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;You can see the end of the export above.&amp;#160;&amp;#160; The command I used is also shown, this gave me a detailed export of a crawl I did on a site on &lt;a href="http://www.microsoft.com"&gt;www.microsoft.com&lt;/a&gt; (the warnings are expected).&amp;#160; Obviously you can use the -outfile switch to save the log for further analysis.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;The Enterprise Search Team have an article describing the extension in more detail, see it at &lt;/font&gt;&lt;a href="http://blogs.msdn.com/enterprisesearch/archive/2008/05/26/introducing-the-exportcrawllog-stsadm-command-extension.aspx"&gt;&lt;font face="Calibri" size="2"&gt;http://blogs.msdn.com/enterprisesearch/archive/2008/05/26/introducing-the-exportcrawllog-stsadm-command-extension.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3197046" width="1" height="1"&gt;</description></item><item><title>Getting more value from your error in SharePoint</title><link>http://blogs.technet.com/paulki/archive/2009/01/29/getting-more-value-from-your-error-in-sharepoint.aspx</link><pubDate>Thu, 29 Jan 2009 14:23:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3194278</guid><dc:creator>paulki</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/paulki/comments/3194278.aspx</comments><wfw:commentRss>http://blogs.technet.com/paulki/commentrss.aspx?PostID=3194278</wfw:commentRss><description>&lt;p&gt;&lt;font face="Calibri" size="2"&gt;Error messages are a means of trying to understand why we hit a problem.&amp;#160; Some are helpful while others are not.&amp;#160; Something like &amp;quot;An error occurred&amp;quot; is not meaningful enough to help us drill deeper into an issue to assist in identifying the root cause.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;There are steps that we can to give us a more &amp;quot;verbose&amp;quot; set of error messages.&amp;#160; This will take effect on OOB built-in functionality as well as any custom components you have installed.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;Consider this example.&amp;#160; When we upload a document into MOSS we hit a problem (I've masked the filename on purpose) :&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/Gettingmorefromyourerror_902C/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="196" alt="image" src="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/Gettingmorefromyourerror_902C/image_thumb.png" width="653" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;Obviously this isn't all that helpful.&amp;#160; We could do with some more detail.&amp;#160; Thankfully this is possible by changing a few settings in the web.config for your web application.&amp;#160; You will need to change the value of CallStack and customErrors to true and Off respectively.&amp;#160; Note that changing web.config will cause your application pool to recycle so these changes should take effect immediately.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;lt;SharePoint&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;SafeMode MaxControls=&amp;quot;200&amp;quot; &lt;strong&gt;CallStack=&amp;quot;true&amp;quot;&lt;/strong&gt; DirectFileDependencies=&amp;quot;10&amp;quot; TotalFileDependencies=&amp;quot;50&amp;quot; AllowPageLevelTrace=&amp;quot;false&amp;quot;&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;PageParserPaths&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/PageParserPaths&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/SafeMode&amp;gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt; &amp;lt;/httpHandlers&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;strong&gt;customErrors mode=&amp;quot;Off&amp;quot;&lt;/strong&gt; /&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;httpRuntime maxRequestLength=&amp;quot;51200&amp;quot; /&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;authentication mode=&amp;quot;Windows&amp;quot; /&amp;gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;With the changes above when I upload the document instead of the error above we get the one below.&amp;#160; Obviously this offers me much more detail and I can use the exception information to help me search for known issues.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/Gettingmorefromyourerror_902C/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="593" alt="image" src="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/Gettingmorefromyourerror_902C/image_thumb_1.png" width="1030" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3194278" width="1" height="1"&gt;</description></item><item><title>MOSS Diagnostic Logging Part 1</title><link>http://blogs.technet.com/paulki/archive/2008/09/11/moss-diagnostic-logging.aspx</link><pubDate>Thu, 11 Sep 2008 23:57:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3122671</guid><dc:creator>paulki</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/paulki/comments/3122671.aspx</comments><wfw:commentRss>http://blogs.technet.com/paulki/commentrss.aspx?PostID=3122671</wfw:commentRss><description>&lt;p&gt;&lt;font face="Calibri" size="2"&gt;There is a rich diagnostic logging facility in MOSS which can provide us with a powerful set of data in order to drill deeper into problems or allow us to observe what is happening under the hood.&amp;#160; Diagnostic logging is one of the most important tools we have when it comes to troubleshooting support issues.&amp;#160; In this post I will focus on the trace and event logging configured in Central Administration.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;By default logging is enabled and it is configured to capture a base set of categories and events that will cover the majority of MOSS operations and tasks.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;We configure diagnostic logging in Central Administration, Operations.&amp;#160; Under Logging and Reporting choose Diagnostic logging.&amp;#160; The sections that I will discuss are Event Throttling and Trace Log.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/MOSSDiagnosticLogging_134DA/image_4.png"&gt;&lt;font color="#000000" size="1"&gt;&lt;/font&gt;&lt;/a&gt;&lt;a href="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/MOSSDiagnosticLogging_134DA/image4_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="331" alt="image" src="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/MOSSDiagnosticLogging_134DA/image4_thumb_1.png" width="665" border="0" /&gt;&lt;/a&gt;&lt;/a&gt;&lt;/a&gt;&lt;font size="1"&gt; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;font face="Calibri" size="2"&gt;Event Throttling&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;This is where you can choose from a set of categories that correspond to MOSS components and features.&amp;#160; If you select the drop down list you will see a full list of all categories (there are about 80 or so).&amp;#160; You can also choose the event log and trace log severities for each of your chosen categories.&amp;#160; By default the event level for the majority of categories for the event log is &amp;quot;Error&amp;quot; and the event level for the trace log is &amp;quot;Medium&amp;quot;.&amp;#160; Some of the search categories are &amp;quot;Monitorable&amp;quot; rather than &amp;quot;Medium&amp;quot; for the trace log.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;You can change the event log and trace log levels for a specific category.&amp;#160; See screen shots below :&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="139" alt="2008-12-04_155321" src="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/MOSSDiagnosticLogging_134DA/2008-12-04_155321_3.jpg" width="235" border="0" /&gt; &lt;font size="1"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="138" alt="2008-12-04_160030" src="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/MOSSDiagnosticLogging_134DA/2008-12-04_160030_3.jpg" width="231" border="0" /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;Under most circumstances you should leave the logging levels at their defaults.&amp;#160; When looking at a specific issue, you may want to change the trace log level to Verbose and the event log level to Information.&amp;#160; However these changes should be reversed once you are done with analysing your problem.&amp;#160; You can reset logging back to default levels by using stsadm -o setlogginglevel -default&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;You can also configure logging via stsadm with even greater flexibility, see below :&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/MOSSDiagnosticLogging_134DA/2008-12-04_162340_2.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="339" alt="2008-12-04_162340" src="http://blogs.technet.com/blogfiles/paulki/WindowsLiveWriter/MOSSDiagnosticLogging_134DA/2008-12-04_162340_thumb.jpg" width="857" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;font face="Calibri" size="2"&gt;Trace Log&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;Under here you can control trace log settings.&amp;#160; The default location is under the 12 hive and we keep 96 logs with each log being used for 30 minutes.&amp;#160; That means we maintain logs for 48 hours.&amp;#160; The settings here are usually sufficient, however you may want to change the number of log files if you are troubleshooting a specific issue over a longer period of time.&amp;#160; If you do this watch disk space usage (see below).&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;Things to note :&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;1.&amp;#160; The trace logs can consume a large amount of disk space.&amp;#160; By default we use a .log file for 30 minutes and maintain 96 logs.&amp;#160; How big that log file will become over 30 minutes will depend on server activity and how logging is configured (settings categories to Verbose will create large logs).&amp;#160; You could end up with .log files of several hundred MB.&amp;#160; Multiply that by 96 and you could be consuming several GB's of disk space.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="2"&gt;2.&amp;#160; Trace logs are written in English, they are not localised.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3122671" width="1" height="1"&gt;</description></item></channel></rss>