Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purging feature should also delete old log entries #185

Open
Jumanji1010 opened this issue Sep 17, 2021 · 3 comments
Open

Purging feature should also delete old log entries #185

Jumanji1010 opened this issue Sep 17, 2021 · 3 comments
Assignees
Milestone

Comments

@Jumanji1010
Copy link

As stated in title…
Set duration to 1 week, message ‚Purging entries older than 1 weeks‘ appears once a day but older entries are not deleted.

@Jumanji1010
Copy link
Author

0036EE5A-B765-4B63-A251-88CE459C33D5
BD59D4F6-0E03-4993-9C22-5426E7E2BC18

@Jumanji1010
Copy link
Author

Attached pictures

@codeling
Copy link
Owner

codeling commented Sep 17, 2021

The purging option is only about purging failed logins, old banned IP entries, and old unblock entries (in the database).
What you show is the log file ([joomla-log-directory]/plg_system_bfstop.log.php) - there currently isn't an automatic way in bfstop to delete or trim the log file.

Two workarounds would be

  1. If you have shell access to your server, create a log rotation configuration for the bfstop log file
  2. Occasionally delete the log file, e.g. via FTP/SFTP.

It sounds like a good idea however, to have an automatic mechanism in place for trimming the log file, in order to avoid overly large log files clogging up disk space on the server. I think even Joomla itself does not provide any support for deleting/trimming its log file at the moment (though I'm not 100% sure on that).

@codeling codeling self-assigned this Sep 17, 2021
@codeling codeling changed the title Purging log entries not working Purging feature should also delete old log entries Oct 19, 2022
@codeling codeling added this to the BFStop 1.6.0 milestone Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants