XF 2.0 There is anyway of clear the logs from my DB? Is beneficial?

deslocotoco

Well-known member
Some log pages on my Admin Panel have more than 8k pages of registry. Moderation, User Log, etc. etc.

Is beneficial to clean this logs?

I'm asking because i don't see any option to mass purge this info.

It's a little unwanted, right?

So, I'm asking if is a good option to do to time to time to clean up some useless information on my server.
 
I have the same question - huge logs for Admin, and don't seems to be pruned anything . How we can clean it?
 
Thank you! Could you pls let me know what is default time for log length? without additional config settings.
 
The admin log entries are pruned automatically.

You can add this to the src/config.php file to reduce the time taken to prune them:

PHP:
$config['adminLogLength'] = 20;

Change the value in days to suit.
It doesn't appear working with XF 2.2.4 and I wonder whether it is possible to nuke all types of logs immediately.
 
Back
Top Bottom