locked
No entries diagnostic logging RRS feed

  • Question

  • Hi,

    I have configured diagnostic logging like category as ALL, and Least critical event to report to the event log  as Error. My server environment is SharePoint 2007 sp2 64 bit on windows 2008 R2.

    The log file is created successfully in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS\. but nothing is available inside the file, file size is 0KB.

    What is the issue? Please guide me to solve the issue.

    Thanks in advance


    Regards,Akila
    Monday, March 28, 2011 3:02 AM

Answers

  • Hi Akilaskk,

    Please run stsadm.exe –o listlogginglevels.
    This command will list your current event log and trace log logging levels. The logging level defines the threshold at which event/ traces associated with category will be written to the event log/trace log. If the trace associated with a category occurs, but is less severe than the category’s logging level, the logs will not be written to the event log. The default Trace Level is Medium, and if it is set to None, there will be no traces written to the trace log.

    If it the problem caused by logging level, you can run stsadm.exe –o setlogginglevel –default to reset it.

    Best regards,
    Emir


    • Marked as answer by Leoyi Sun Wednesday, April 6, 2011 2:37 AM
    Tuesday, March 29, 2011 6:16 AM

All replies

  • Check that you have not run out of disk space on the disk where your logs are being stored.

    All takes up a vast amount of space and can mean that you run out of space very quickly.


    SP 2010 "FAQ" (mainly useful links): http://wssv4faq.mindsharp.com/default.aspx
    WSS3/MOSS FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
    Both also have links to extensive book lists and to (free) on-line chapters
    Monday, March 28, 2011 6:18 AM
  • Hi Akilaskk,

    Please run stsadm.exe –o listlogginglevels.
    This command will list your current event log and trace log logging levels. The logging level defines the threshold at which event/ traces associated with category will be written to the event log/trace log. If the trace associated with a category occurs, but is less severe than the category’s logging level, the logs will not be written to the event log. The default Trace Level is Medium, and if it is set to None, there will be no traces written to the trace log.

    If it the problem caused by logging level, you can run stsadm.exe –o setlogginglevel –default to reset it.

    Best regards,
    Emir


    • Marked as answer by Leoyi Sun Wednesday, April 6, 2011 2:37 AM
    Tuesday, March 29, 2011 6:16 AM