Skip to content

Commit

Permalink
[monitoring] Removes noisy event received log (elastic#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 committed Feb 11, 2020
1 parent 696e46a commit 039b84f
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 039b84f

Please sign in to comment.