Default log location for MOSS 2007 is "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS"
To avoid unnecessary burden on the Operating System (C:) drive, SharePoint Administrators often use the best practice of moving logs to a different Drive/Location. The following are the steps to change the default SharePoint Log location:
- Login to Central Administration website.
- Navigate to Operations menu. Under the Logging and Reporting section, click on Diagnostic Logging option.
- Under the Trace Log section, provide the new Path of Log file.
- Click OK to save the settings