Plugin Trouble
I have just upgraded our server to 3.6.4 2630 and am having trouble getting my plugin to log information correctly. I rebuilt it with the CounterSoft.Gemini.Commons.dll and CounterSoft.Gemini.Logging.dll files from the server.
After copying my updated plugin to the bin\plugins directory it can tell that it recognizes the update because of the delay when I refresh the web browser for the first time. But when I call DiagnosticsManager.EventLogMessage or DiagnosticsManager.TraceLogMessage in my IssueAssigned handler, it never shows up in the System Information | System Log page in the Administration area. I noticed that the logging functions changed a bit from the older version.
If I make my IssueAssigned function simply "throw new Exception("[LS] exception!")" then I can see that exception in the System Information | System Log page, so I know IssueAssigned is getting called.
Am I missing something?
Server Info: Windows Server 2008 (32-bit) SQL Server 2008
Code: namespace LSGeminiEvents { public class LSIssueListener : AbstractIssueListener { private string m_desc;
public LSIssueListener()
{
m_desc = "LS Gemini Plugin";
}
public override string Description { get { return m_desc; } set { m_desc = value; } }
public override void IssueAssigned(IssueEventArgs args)
{
DiagnosticsManager.TraceMessage("[LS] IssueAssigned");
DiagnosticsManager.EventLogMessage("[LS] IssueAssigned");
}
}
}
thebizrock
· 1 |
|
Tuesday, March 23, 2010, 6:29:33 PM |