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 ...Edit log settings outside of event viewerEdit log settings outside of event viewer
Previous
 
Next
New Post
3/2/2017 9:29 PM
 

Hi,

I am currently having a problem with our DNN 7.04 site with a rapidly expanding log table. I have read to go to Event Viewer and then change settings there, but I cant access that page due the large amount of entries in the table so it timeouts. Deleting the entries in the table is possible but causes the database to be locked up preventing users from using the site. Is there somewhere else I can change these settings like in a config file somewhere?

Thanks

 
New Post
3/3/2017 8:09 AM
 
Brian,

you could go to Host :: SQL and use this command to delete entries older than 1 month:

DELETE FROM {databaseOwner}{objectQualifier}EventLog WHERE LogCreateDate < DATEADD(m, -1, GETDATE())

(or whatever time span you want to, see SQL Server referece for the DATEADD function)

Restart your Application pool after this (under Tools :: Restart Application Pool)

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP
helferlein.com - Michael Tobisch's Site about DNN, SQL Server, ASP.Net and other related stuff dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
3/18/2017 2:39 PM
 
please read my blog post (still valid for DNN 8 and 9): http://www.dnnsoftware.com/community-...

My TurboScripts also take care of limiting size of the log tables automatically.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Edit log settings outside of event viewerEdit log settings outside of event viewer


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