salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.29k stars 2.04k forks source link

Elasticsearch log spam for SchedulersJobs #10343

Open cyb456 opened 5 months ago

cyb456 commented 5 months ago

Issue

After enabling elasticsearch the logs are shown a few times a minute the following:

Tue Jan 30 10:48:01 2024 [108809][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:48:01 2024 [108809][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:48:01 2024 [108809][1][WARN] There is no any workflow to run
Tue Jan 30 10:48:01 2024 [108809][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:48:01 2024 [108809][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:48:01 2024 [108809][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:48:01 2024 [108809][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:48:01 2024 [108809][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:49:01 2024 [109070][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:49:01 2024 [109070][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:49:01 2024 [109070][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:49:01 2024 [109070][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:49:01 2024 [109070][1][WARN] There is no any workflow to run
Tue Jan 30 10:49:01 2024 [109070][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:49:01 2024 [109070][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:49:01 2024 [109070][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:49:01 2024 [109070][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:49:01 2024 [109070][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:50:02 2024 [109565][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:50:02 2024 [109565][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:50:02 2024 [109565][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:50:02 2024 [109565][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:50:02 2024 [109565][1][WARN] There is no any workflow to run
Tue Jan 30 10:50:02 2024 [109565][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:50:02 2024 [109565][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:50:02 2024 [109565][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:50:02 2024 [109565][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:50:02 2024 [109565][1][WARN] Elasticsearch trying to re-indexing a bean but this module is blacklisted: SchedulersJobs
Tue Jan 30 10:51:01 2024 [109572][1][WARN] There is no any workflow to run

Expected Behavior

These are unnecessary messages, just should not be there.

Actual Behavior

The spam

Possible Fix

Check for SchedulersJobs being the module

Steps to Reproduce

  1. I am going to guess this could be due to having workflows, purely a guess.
  2. Enable elasticsearch

Context

It is just annoying, but does not affect anything.

Your Environment

chris001 commented 5 months ago

Those log entries could be set to show when log level is set to INFO not WARN.