We are hosting DNN portals and have many DNN installation on the same server. I have configured error notifications to be sent when an error occurs. I am currently having a problem with the Scheduler generating a General Exxception error (posted this issue in the Search forums). The problem is that the alert notification for error on tells you what server the portal is on...not the actual DNN installation that the error occured on. So then I must search the log viewer on all the portal installations to determine which had the error.
Any ideas on customizing the LogServerName (see XML below) value on a per DNN installation basis?
<log xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" LogGUID="24c54c7b-e1ee-4db0-a18b-9d0a52b48c3d" LogTypeKey="SCHEDULER_EXCEPTION" LogUserID="-1" LogUserName="" LogPortalID="-1" LogPortalName="" LogCreateDate="2006-01-11T10:42:02.8930000-05:00" LogCreateDateNum="0" BypassBuffering="false" LogServerName="HOST-IIS01" LogConfigID="1">
<properties>
<property>
<name>AssemblyVersion</name>
<value>-1</value>
</property>
<property>
<name>Method</name>
<value />
</property>
<property>
<name>FileName</name>
<value />
</property>
<property>
<name>FileLineNumber</name>
<value>-1</value>
</property>
<property>
<name>FileColumnNumber</name>
<value>-1</value>
</property>
<property>
<name>PortalID</name>
<value>-1</value>
</property>
<property>
<name>PortalName</name>
<value />
</property>
<property>
<name>UserID</name>
<value>-1</value>
</property>
<property>
<name>UserName</name>
<value />
</property>
<property>
<name>ActiveTabID</name>
<value>-1</value>
</property>
<property>
<name>ActiveTabName</name>
<value />
</property>
<property>
<name>AbsoluteURL</name>
<value />
</property>
<property>
<name>AbsoluteURLReferrer</name>
<value />
</property>
<property>
<name>ExceptionGUID</name>
<value />
</property>
<property>
<name>DefaultDataProvider</name>
<value />
</property>
<property>
<name>InnerException</name>
<value>Add failed. Duplicate key value supplied.</value>
</property>
<property>
<name>Message</name>
<value>System.ArgumentException: Add failed. Duplicate key value supplied.
at Microsoft.VisualBasic.Collection.Add(Object Item, String Key, Object Before, Object After)
at DotNetNuke.Services.Scheduling.DNNScheduling.CoreScheduler.AddToScheduleInProgress(ScheduleHistoryItem objScheduleHistoryItem)
at DotNetNuke.Services.Scheduling.DNNScheduling.CoreScheduler.WorkStarted(SchedulerClient& objSchedulerClient)</value>
</property>
<property>
<name>StackTrace</name>
<value />
</property>
<property>
<name>Source</name>
<value />
</property>
</properties>
</log>