Clear Audit Log

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

Clear Audit Log

Post by alexanderbrix »

Hello community,

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

Thank you in advance!

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

Re: Clear Audit Log

Post by henk »

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);
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
alexanderbrix
Posts: 35
Joined: 20 Oct 2016 06:09

Re: Clear Audit Log

Post by alexanderbrix »

thank you! I've changed the value :-)
Alleyviper
Posts: 83
Joined: 16 Oct 2018 05:55
Location: Portugal

Re: Clear Audit Log

Post by Alleyviper »

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: 35
Joined: 20 Oct 2016 06:09

Re: Clear Audit Log

Post by alexanderbrix »

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...
Alleyviper
Posts: 83
Joined: 16 Oct 2018 05:55
Location: Portugal

Re: Clear Audit Log

Post by Alleyviper »

Hi there,

Weird, can you show a printscreen ?
Post Reply