Innovate | Connect | Transform
ContactService statusUSD $

GICT knowledge base

How to Clear Logs in SMF

Published

SMF

Logs are very important when it comes to debugging. However, Sometimes logs might use up all the storage space available on your system if you don’t clear them up. These logs are unwanted logs.

How do you know if you can clear up all the logs to free up space on your server? If you are having an on-going issue on your Simple Machines Forum, logs are important. If everything is going as perfectly as they can, logs are not important.

If you are using SMF to manage a forum, you can clear the logs directly from the admin panel of your Forum. It is a very easy process and you can perform this action within a minute. So, In this tutorial, I am going to show you How to clear Logs in a form powered by SMF (Simple Machine Forum).

How to clear logs in SMF

To clear logs, Log in to the admin panel of your SMF and then click on the Admin option given in the main navigation bar.

Create new forum

Then, go to the Main -> Administration Center option from the secondary navigation menu. See the following screenshot for reference.

Optimize database tables in SMF

On this page, you will see a lot of options. Click on the Forum Maintenance option.

Optimize database tables in SMF

In the Forum Maintenance section, click on the Routine option given in the sub-navigation bar just like the following image.

Clear file cache in SMF

On this page, Locate the section with the title “Empty out unimportant logs”. You will see a note in that section that says avoid clearing logs if something is wrong. If everything is fine, you can clear the logs.

Even if something is wrong on the system, clearing logs will not break anything more on the system. But the logs are important to a developer or a system administrator to debug the application.

Clear unimportant logs

Once you have decided to clear the logs, click on the Run task now button given in the section.

Clear unimportant logs

It will clear all the unimportant log files and start them again. This process is easy and does not require any technical knowledge. But the navigation is harder. Once you know where to find the option to clear logs, you can easily repeat the process within a minute whenever you want.

We hope this tutorial helped you. Use the comment section given below to mention any issues or questions regarding this topic. We will help you as soon as possible.

Related guides

Account services are unavailable until the production backend is configured.