Skip to content

Commit

Permalink
[monitoring] Removes noisy event received log (#57275)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tyler Smalley authored Feb 11, 2020
1 parent e7773f2 commit 9d7bdd3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

import { LOGGING_TAG, KIBANA_MONITORING_LOGGING_TAG } from '../../../../common/constants';
import { EventRoller } from './event_roller';
import { CloudDetector } from '../../../cloud';

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

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

hasEvents() {
Expand Down

0 comments on commit 9d7bdd3

Please sign in to comment.