Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 ...How to wipe site log? (not event log)How to wipe site log? (not event log)
Previous
 
Next
New Post
11/8/2006 6:13 PM
 

I tested a site for a couple of weeks with Host-tracker in order to check for outages. That worked and I moved the site to a different server. Now I'm about to hand the site over to the client but I want to clear the site log out (which is chock full of host-tracker data) before doing so.

I tried setting the history back to 0 days and then enabled the PurgeSiteLog task at its default shedule of one day. Now, a few days later the site log is still there and even tho DNN4.35 tells me the site log has been disabled, it will still show me the logs that were made.

So, before I go digging around dangerously in the db, how does one normally wipe the site log?

Thanks for any tips
Rob

 
New Post
11/8/2006 7:23 PM
 

The SiteLog table is a flat table with no dependencies on any other tables or fields.

If you are comfortable with Enterprise Manager then try the following
on another test database table before you do it on a prodiction site.

I always backup my database first before doing any deletes, truncates or imports.

To clear a table and maintain the table structure > TRUNCATE TABLE <tablename>

         TRUNCATE TABLE [dbo].[DNN_SiteLog]

mikez

 
New Post
11/8/2006 8:03 PM
 

Thanks for the reply Mike,

My hosting panel has Enterprise Manager on it so I can certainly open it up. I've been in and looked around but that's about all. I've also seen where one can paste a command in and run it. There's also another section on the control panel that says it does the same thing and of course there is also that page in DNN where one can paste SQL bits in and run them. Are these all the exactly the same thing?

And just another quickie.. is that the full command TRUNCATE TABLE [dbo].[DNN_SiteLog] or is part of it (the dbo?) a placeholder where I'm to put something else in? I'm afraid I'm an sql noob.

Which leads me to another query.. does this wipe the site logs for all portals in the DNN instance or can it be done for just one portal?

I do have a backup site I can try it on.

Regards,

Rob

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to wipe site log? (not event log)How to wipe site log? (not event log)


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