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

Disable logging of useless blocks #444

Closed
WarnDa opened this issue Aug 31, 2023 · 2 comments
Closed

Disable logging of useless blocks #444

WarnDa opened this issue Aug 31, 2023 · 2 comments

Comments

@WarnDa
Copy link

WarnDa commented Aug 31, 2023

Hello,
I'm using coreprotect only to log stealing abuse, item stealing, and protection against block place/break on quests.
But coreprotect is loggin every block that player place/break, so if he is mining during 1hr, it will adds a lot of useless block loggin, and also as it's doing big mysql requests each time, it creates iowait..

In the blacklist.txt, we can only logs "non player actions", and I already tried to set some blocks inside but it still logs when I place or break them.
image

@WarnDa WarnDa changed the title Disable loggin of useless blocks Disable logging of useless blocks Aug 31, 2023
@WarnDa
Copy link
Author

WarnDa commented Sep 15, 2023

Here are the quantity of requests it does to the database, and it creates iowait up to 3% (I'm getting 13900K and samsung 990 PRO NVME ssd)
image

@Intelli
Copy link
Contributor

Intelli commented Jan 5, 2024

Implemented in 7c61a33

@Intelli Intelli closed this as completed Jan 5, 2024
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