Skip to content

Commit 039b84f

Browse files
committed
[monitoring] Removes noisy event received log (#57275)
This log is very noisy when running in verbose and does not appear to have much value in debugging. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
1 parent 696e46a commit 039b84f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer

x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/ops_buffer.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
import { LOGGING_TAG, KIBANA_MONITORING_LOGGING_TAG } from '../../../../common/constants';
87
import { EventRoller } from './event_roller';
98
import { CloudDetector } from '../../../cloud';
109

@@ -13,7 +12,7 @@ import { CloudDetector } from '../../../cloud';
1312
* @param {Object} server HapiJS server instance
1413
* @return {Object} the revealed `push` and `flush` modules
1514
*/
16-
export function opsBuffer({ config, log, getOSInfo }) {
15+
export function opsBuffer({ config, getOSInfo }) {
1716
// determine the cloud service in the background
1817
const cloudDetector = new CloudDetector();
1918

@@ -26,7 +25,6 @@ export function opsBuffer({ config, log, getOSInfo }) {
2625
return {
2726
push(event) {
2827
eventRoller.addEvent(event);
29-
log(['debug', LOGGING_TAG, KIBANA_MONITORING_LOGGING_TAG], 'Received Kibana Ops event data');
3028
},
3129

3230
hasEvents() {

0 commit comments

Comments
 (0)