0

Should this be as easy as Trace.WriteInformation() in a C# file that is in a class library in the GAC?

bmw0128
  • 13,470
  • 24
  • 68
  • 116

2 Answers2

1

Related to your question:

SharePoint's Unified Logging Service (ULS) log files are not that easy to read. There is a browser-based viewer available over at the CodePlex Features project. This adds a new link to the Central Administration Operations page that lets you pick & filter the log files.

Mitch Wheat
  • 295,962
  • 43
  • 465
  • 541
0

use:

   Microsoft.Office.Server.Diagnostics.PortalLog.LogString("*** bmw 1 ***");
bmw0128
  • 13,470
  • 24
  • 68
  • 116
  • Only for MOSS Edition. For WSS use this code: http://stackoverflow.com/questions/136672/programmatically-logging-to-the-sharepoint-uls – Janis Veinbergs Mar 05 '10 at 07:08