Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Email Notifciation when Exception was thrownEmail Notifciation when Exception was thrown
Previous
 
Next
New Post
7/21/2009 7:01 AM
 

 

Hi everybody,

i still didn't resolve the problem.
Therefore I looked deeper into it. The Pending Notification Issue is resolved differently in the LoggingProviders. As I use the DBLoggingProvider i got to the
AddEventLog stored procedure and found something interesting for me. In the Log settings i configured the occurence threshold for an event to 1 in 1 second.
In the stored procedure this is handled as shown here:

IF @ThresholdQueue > @NotificationThreshold
BEGIN
 UPDATE dbo.EventLog
 SET LogNotificationPending = 1
 WHERE LogConfigID = @LogConfigID
 AND LogNotificationPending IS NULL
 AND LogCreateDate > @MinDateTime
END

 
Should'nt that be >= in the IF clause??

The next point is, that it isn't possibly to set the notification
threshold to 0. This would ensure, that DNN send the mail immediately.

So I looked around in code and noticed that we have the "Enable Event Log Buffer"
in the host settings. Enabling this let the Provider add the log object to an
static queue. The PurgeLogBuffer SchedulerClient gets these items and put
it into the DB. And here is one more point I wonder about.
In the sp AddEventLog there is following part which proofs whether the log is pending or not
SELECT @ThresholdQueue = COUNT(*)
  FROM dbo.EventLog
  INNER JOIN dbo.EventLogConfig
  ON dbo.EventLog.LogConfigID = dbo.EventLogConfig.ID
  WHERE LogCreateDate > @MinDateTime
  
As the PurgeLogBuffer Scheduler writes the log objects to a lot later
than the event occures the part
IF @ThresholdQueue > @NotificationThreshold
BEGIN
 UPDATE dbo.EventLog
 SET LogNotificationPending = 1
 WHERE LogConfigID = @LogConfigID
 AND LogNotificationPending IS NULL
 AND LogCreateDate > @MinDateTime
END

gets a problem as the time difference is greater than my second....

Should there be another column in DB like logDate??  

Is it possible that there are any inconsistencies?
Or do i still have an configuration problem??

Thanks for your replies!!

 
New Post
7/21/2009 8:57 AM
 

AndrewH wrote

you could get caught in a Cartesian death loop, opening up a rip in the time-space continuum and causing everyone using DNN to fall in.

.(?I am where) interested are military the wonder No



Alex Shirley


 
New Post
7/22/2009 3:35 AM
 

Sorry, didn't get you. What do you mean with "(?!I am where) interested are military the wonder No"

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Email Notifciation when Exception was thrownEmail Notifciation when Exception was thrown


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out