From 2773a0b8cff9231bdb3e153e2ce4bed0473d3ff9 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Wed, 9 May 2012 16:36:36 +0000 Subject: [PATCH] bye bye debug output, le sigh - also add newline before stats git-svn-id: http://www.observium.org/svn/observer/trunk@3157 61d68cd4-352d-0410-923a-c4978735b2b8 --- poller.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/poller.php b/poller.php index cdfb2aea1..362ad1a2a 100755 --- a/poller.php +++ b/poller.php @@ -74,8 +74,6 @@ if (!$where) exit; } -print_r($options); - if (isset($options['d'])) { echo("DEBUG!\n"); @@ -123,7 +121,8 @@ if ($polled_devices) $string = $argv[0] . " $doing " . date("F j, Y, G:i") . " - $polled_devices devices polled in $poller_time secs"; if ($debug) { echo("$string\n"); } -echo('MySQL: Cell['.($db_stats['fetchcell']+0).'/'.round($db_stats['fetchcell_sec']+0,2).'s]'. +echo("\n" . + 'MySQL: Cell['.($db_stats['fetchcell']+0).'/'.round($db_stats['fetchcell_sec']+0,2).'s]'. ' Row[' .($db_stats['fetchrow']+0). '/'.round($db_stats['fetchrow_sec']+0,2).'s]'. ' Rows[' .($db_stats['fetchrows']+0).'/'.round($db_stats['fetchrows_sec']+0,2).'s]'. ' Column['.($db_stats['fetchcol']+0). '/'.round($db_stats['fetchcol_sec']+0,2).'s]'.