Clear Audit Log

Questions and answers about how to do stuff
Post Reply
alexanderbrix
Posts: 13
Joined: 20 Oct 2016 06:09

Clear Audit Log

Post by alexanderbrix » 04 Aug 2017 12:23

Hello community,

is there any way how to clean/delete the audit log from time to time?

Thank you in advance!

Alexander

henk
Posts: 383
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Clear Audit Log

Post by henk » 04 Aug 2017 19:00

Hello Alexandeerbrix,

There is housekeeping on the audit log, so why clear it?

You can control the days to keep for your audit log in

Code: Select all

/var/www/html/mailscanner/conf.php

Code: Select all

// Define how many days to audit logs to keep.
define('AUDIT_DAYS_TO_KEEP', 60);

alexanderbrix
Posts: 13
Joined: 20 Oct 2016 06:09

Re: Clear Audit Log

Post by alexanderbrix » 07 Aug 2017 06:25

thank you! I've changed the value :-)

Alleyviper
Posts: 69
Joined: 16 Oct 2018 05:55
Location: Portugal

Re: Clear Audit Log

Post by Alleyviper » 04 Jan 2019 01:43

Hi there,

You can go to https://<server>:10000
Login to webmin with your root account
Search mysqlserver
Go mailscanner Database and select audit_log
Select view data and you can delete what you want

alexanderbrix
Posts: 13
Joined: 20 Oct 2016 06:09

Re: Clear Audit Log

Post by alexanderbrix » 22 Jul 2019 06:36

Hello,
I just logged in to my webmin and went to Server - MySQL Database Server. But after that I need to login and my root/pw does not work. I can't log in to the MySQL...

Post Reply