If you have ever developed on SharePoint, there's gotta be at least once when you came across the superbly detailed error message:
“Unknown error” …and its likes.
That's when we have to start ploughing through the humungous amount of log entries in "%programfiles%\\Common Files\\Microsoft Shared\\Web Server Extensions\\12\\Logs". Well, but there’s an easier way—the log files doesn’t have to be humungous!
We can throttle the log file outputs, depending on which area of SharePoint that we are working on. From the SharePoint Central Administration, navigate to Operations and Diagnostic Logging.
[http://blogs.msdn.com/fooshen/archive/2007/01/31/throttling-moss-2007-logs.aspx]