I have a scenario where I have WSS 3.0 only on a server and I would like to be able to log to the ULS log. In most cases, I have MOSS 2007 installed on the same server and can use the class/method Microsoft.Office.Server.Diagnostics.PortalLog.LogString but that is not an option in this case.
Have anyone else been able to successfully log to the ULS log on a WSS-only server? If not, do you use a logging component instead like log4net etc or how do you log? Logging to the ULS log would be strongly preferred.
TIA, Magnus
Microsoft has documented it with this example on MSDN