While I was working on the last post. I wondered how to set the logging via command line back to the defaults. Here is an article I found on how to do logging via of stsadm – http://technet.microsoft.com/en-us/library/cc288075.aspx
‘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 Medium / Error.
stsadm -o setlogginglevel -tracelevel Medium -windowslogginglevel Error
//full path
“C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12binstsadm” -o setlogginglevel -tracelevel Medium -windowslogginglevel Error
The two services listed below are in a Monitorable / Error State. I’ll see if I can figure out the syntax for just these two. The output listed below was from another box that the logging hasn’t been adjusted.
A) MS Search Advanced Tracing Monitorable Error
B) MS Search Query Processor Monitorable Error
DiagnosticsService:
Category Name Trace Level Event Level
——————————————————————————-
Administration Medium Error
Backward Compatible Administration Medium Error
Backward Compatible Site Object Model Medium Error
Business Data Medium Error
Content Deployment Medium Error
Document Management Medium Error
Excel Calculation Services Medium Error
Excel Services Administration Medium Error
Excel Services Cache Medium Error
Excel Services External Data Medium Error
Excel Services Session Medium Error
Excel Services Web Front End Medium Error
Excel Web Access Medium Error
Excel Web Services Medium Error
Forms Services Administration Medium Error
Forms Services Conversion and Deployment Medium Error
Forms Services Data Binding Medium Error
Forms Services Data Objects Medium Error
Forms Services Deployment Medium Error
Forms Services File Open Medium Error
Forms Services Object Model Medium Error
Forms Services Rendering Medium Error
Forms Services Runtime Medium Error
Forms Services Runtime Medium Error
Forms Services Runtime – Business Logic Medium Error
Forms Services Runtime – Data Connections Medium Error
Forms Services Runtime – Session State Medium Error
Forms Services Validation Medium Error
Group Approval Enhanced Group Management Library Medium Error
Group Approval Enhanced Group Management Pages Medium Error
Group Approval Library Medium Error
Group Approval Pages Medium Error
Group Approval Schedules Medium Error
Group Approval SOAP Medium Error
Information Policy Management Medium Error
Knowledge Network Server Medium Error
Launcher Service Medium Error
Load Balancer Service Medium Error
Long running operation infrastructure Medium Error
MCMS 2002 Migration Medium Error
MS Search Propagation Monitorable Error
Office Server General Medium Error
Office Server Shared Services Medium Error
Project Server – General Medium Error
Project Server Active Cache Enterprise Resource Load Medium Error
Project Server Active Cache Load Medium Error
Project Server Active Cache operations Medium Error
Project Server Active Cache Save Medium Error
Project Server Active Directory Synchronization Medium Error
Project Server Analysis Cube Building Medium Error
Project Server Archive, Restore Medium Error
Project Server Calendars Medium Error
Project Server Global Medium Error
Project Server Notifications Medium Error
Project Server Portfolio Management Medium Error
Project Server Provisioning Medium Error
Project Server Queue Medium Error
Project Server Reporting Medium Error
Project Server Resource Medium Error
Project Server Security Medium Error
Project Server Server-Side Events Medium Error
Project Server Sharepoint Integration Medium Error
Project Server Status Reports Medium Error
Project Server Summary Resource Assignments Medium Error
Project Server Task Statusing and Updates Medium Error
Project Server Timesheet Medium Error
Project Server-side Project Operations Medium Error
Project Web Access Medium Error
Publishing Medium Error
Publishing Cache Medium Error
Publishing Provisioning Medium Error
Records Center Medium Error
Runtime Medium Error
Session State Service Medium Error
Setup and Upgrade Medium Error
SharePoint Services Medium Error
Site Directory Medium Error
Site Management Medium Error
SSO Medium Error
User Profiles Medium Error
WebParts Medium Error
Workflow Features Medium Error
SPDiagnosticsService:
Category Name Trace Level Event Level
——————————————————————————-
Backup and Restore Medium Error
Communication Medium Error
Database Medium Error
E-Mail Medium Error
Feature Infrastructure Medium Error
Fields Medium Error
General Medium Error
IRM Medium Error
MS Search Administration Medium Error
MS Search Advanced Tracing Monitorable Error
MS Search Indexing Medium Error
MS Search Query Medium Error
MS Search Query Processor Monitorable Error
Runtime Medium Error
Server Help Medium Error
Timer Medium Error
Timer Job Medium Error
Topology Medium Error
Unified Logging Service Medium Error
Upgrade Medium Error
Web Controls Medium Error
Web Parts Medium Error
Workflow Infrastructure Medium Error
Operation completed successfully.