Where are the event logs stored?
Hello,
I have a job running on a sharepoint server every hour. If I write to the event logs/ Console.Write, can you tell me, where will the logs get stored on the sharepoint server.
July 4th, 2011 10:12am
HI,
Log in to your server.
Go To Start-->Administrative Tools-->Eventviewer
Then right click on the event categories on left and select properties. This will show you the path.
For me it is %SystemRoot%\System32\Winevt\Logs
I hope this will help you out.
Thanks,
Rahul Rashu
Free Windows Admin Tool Kit Click here and download it now
July 4th, 2011 10:56am
Thank you so much. But, I believed, that for sharepoint server, u mention the logs, in the central admin site, and thats where the logs get stored.
Correct me if I am wrong.
July 4th, 2011 10:58am
How about looking at this MSDN article which explains the Custom Logging mechanism in detail:
http://msdn.microsoft.com/en-us/library/ff647362.aspx
Hope this helps.Thanks & Regards,
Kamlesh | Blog |
Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
July 4th, 2011 2:03pm