Skip to content

Commit

Permalink
Remove error_log() call which is trace from cluster_view.php
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jh23453 authored Mar 6, 2022
1 parent 3d707eb commit 7386354
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cluster_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']]);
Expand Down

0 comments on commit 7386354

Please sign in to comment.