How To Clear DotNetNuke Event Logs?


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.


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


Other Knowledgebase Articles

Free Shared Hosting

# of Domains: 1
# of SQL Server Databases: 1
Disk Space: 5GB
Bandwidth: Unmetered
SQL Server 2014
Monthly: $0.00
More Information About Free Shared SQL Hosting Plan

Free Hyper-V Server

Dedicated Memory:1GB
Disk Space: 25GB SSD
Bandwidth: Unmetered
Windows 2012 R2/2008 R2: Free
Monthly: $0.00
More Information About Free Windows Hyper-V Server

Dedicated SQL Server

CPU: Quad-Core Xeon X3440
Disk: 2x120GB SSD
Bandwidth: 100Mbps Unmetered
Windows 2012/2008: Free
Monthly: $79.00
More Information About Unlimited Dedicated SQL Server
SQL Server Hosting | ASP.NET Hosting | DotNetNuke Hosting | Windows VPS Hosting | Dedicated SQL Server Hosting | Dedicated Windows Server Hosting