From 738635433b2941a96bf278f83404f53c5116aea2 Mon Sep 17 00:00:00 2001 From: jh23453 Date: Sun, 6 Mar 2022 20:35:33 +0100 Subject: [PATCH] Remove error_log() call which is trace from cluster_view.php When displaying a cluster view I get this message in apache's error.log: reports = Array\n(\n [load_report] => load_one\n [cpu_report] => 1\n [mem_report] => 1\n [network_report] => 1\n [packet_report] => 1\n)\n For me it looks like a trace - lets remove it. --- cluster_view.php | 1 - 1 file changed, 1 deletion(-) diff --git a/cluster_view.php b/cluster_view.php index 2e3e87ac..f241c9db 100644 --- a/cluster_view.php +++ b/cluster_view.php @@ -740,7 +740,6 @@ function get_load_heatmap($hosts_up, $host_regex, $metrics, $load_scale, $tpl_da $tpl_data->assign("conf", $conf); $tpl_data->assign("showhosts", $user['showhosts']); -error_log("reports = " . print_r($reports, TRUE)); $tpl_data->assign("reports_metricname", isset($reports[$user['metricname']]) && $reports[$user['metricname']]);