Microsoft Technology, .Net, BizTalk, Sharepoint & etc.

Liedong(Ken) Zheng, Senior SharePoint Developer at SIMPLOT

Logging levels in Sharepoint and STSADM

Posted by ken zheng on September 17, 2009

I just found on our Front End Servers where there are no trace logs under 12\LOGS. The log files are there but without any message inside.

‘This gives you the current settings
stsadm.exe -o listlogginglevels

Run this before doing any changes on a machine. It’s always good to know the original settings before making changes.

‘This set the logging to Verbose / Error.
stsadm -o setlogginglevel -tracelevel Verbose -windowslogginglevel Error

//full path
“C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin\stsadm” -o setlogginglevel -tracelevel Verbose -windowslogginglevel Error

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>