Elasticsearch log spam for SchedulersJobs #5158

Open
opened 2026-02-20 16:30:40 -05:00 by deekerman · 1 comment
Owner

Originally created by @cyb456 on GitHub (Jan 30, 2024).

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

  • SuiteCRM Version used: 7.14.2
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): chromium
  • Environment name and version (e.g. MySQL, PHP 7): php 7.4 mariadb 11.2
  • Operating System and version (e.g Ubuntu 16.04): ubuntu 20.04
Originally created by @cyb456 on GitHub (Jan 30, 2024). <!--- Provide a general summary of the issue in the **Title** above --> <!--- Before you open an issue, please check if a similar issue already exists or has been closed before. ---> <!--- If you have discovered a security risk please report it by emailing security@suitecrm.com. This will be delivered to the product team who handle security issues. Please don't disclose security bugs publicly until they have been handled by the security team. ---> <!--- Please be aware that as of the 31st January 2022 we no longer support 7.10.x. New issues referring to 7.10.x will only be valid if applicable to 7.12.x and above. If your issue is still applicable in 7.12.x, please create the issue following the template below --> #### Issue <!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug --> <!--- Ensure that all code ``` is surrounded ``` by triple back quotes. This can also be done over multiple lines --> 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 <!--- Tell us what should happen --> These are unnecessary messages, just should not be there. #### Actual Behavior <!--- Tell us what happens instead --> <!--- Also please check relevant logs (suitecrm.log, php error.log etc.) --> The spam #### Possible Fix <!--- Not obligatory, but suggest a fix or reason for the bug --> Check for SchedulersJobs being the module #### Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug include code to reproduce, if relevant --> 1. I am going to guess this could be due to having workflows, purely a guess. 2. Enable elasticsearch 3. 4. #### Context <!--- How has this bug affected you? What were you trying to accomplish? --> <!--- If you feel this should be a low/medium/high priority then please state so --> It is just annoying, but does not affect anything. #### Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * SuiteCRM Version used: 7.14.2 * Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): chromium * Environment name and version (e.g. MySQL, PHP 7): php 7.4 mariadb 11.2 * Operating System and version (e.g Ubuntu 16.04): ubuntu 20.04
Author
Owner

@chris001 commented on GitHub (Jan 30, 2024):

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

@chris001 commented on GitHub (Jan 30, 2024): Those log entries could be set to show when log level is set to `INFO` not `WARN`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5158
No description provided.