How To Clear DotNetNuke Event Logs?

Problem

Sometimes your DotNetNuke database grows very fast. It is very important to clear the DotNetNuke event logs to make your DNN site running smoothly. Please follow these steps to optimize your DNN database.

Solution

1) Login DNN with host account

Log into DNN site with host account.

2)Go To Admin->Log Viewer

Go To Admin->Log Viewer

3). Click Clear Log Link to clear all event logs

clear all event logs

If you get error message while showing Event Viewer

Sometimes your DotNetNuke will have too many log records. It will have problem to show them. We can run a SQL server script to delete the event logs.

1) Go to Host -> SQL

Host -> SQL

2) SQL server script in the text box

Please input "Truncate table eventlog" here.
Host -> SQL

3) Click "Execute" to run the SQL script

If you see a message "The Query completed successfully!". It means the database records have been removed. Execute SQL script

Related Resources

Navigator

Other Knowledgebase Articles

Shared Hosting

# of Domains: 2
# of SQL Server Databases: 2
Disk Space: Unlimited
Bandwidth: Unlimited
Email: Unlimited
SQL Server 2008 R2
Monthly: $4.99
More Information About Unlimited Shared Windows Hosting Plan

Windows Hyper-V Server

Dedicated Memory:2GB
Disk Space: 200GB
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $49.99
More Information About Unlimited Windows Hyper-V Server

Dedicated SQL Server

CPU: Intel Dual-Core Sandy Bridge I3-2100
RAM: 8GB RAM
Disk: 2x500GB SATA
RAID: Host RAID 1
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $99.00
More Information About Unlimited Dedicated SQL Server