From 09e5bd72dc7f02d113fa673699779d2c10b1053e Mon Sep 17 00:00:00 2001 From: iAmShorty Date: Sun, 16 Feb 2014 18:07:27 +0100 Subject: [PATCH] [UPDATE] changed logging --- cronjobs/payouts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cronjobs/payouts.php b/cronjobs/payouts.php index 8b097851..d19c742b 100755 --- a/cronjobs/payouts.php +++ b/cronjobs/payouts.php @@ -66,7 +66,7 @@ if ($setting->getValue('disable_manual_payouts') != 1 && $aManualPayouts) { $monitoring->endCronjob($cron_name, 'E0079', 0, true); } - $log->logInfo("Manual Payout Sum: " . $dMPTotalAmount . " - Wallet Balance: " . $dWalletBalance . " with " . $dBlocksUnconfirmedBalance . " unconfirmed"); + $log->logInfo("Manual Payout Sum: " . $dMPTotalAmount . " - Liwuid Assets: " . $dWalletBalance . " - Wallet Balance: " . $dWalletBalance + $dBlocksUnconfirmedBalance . " - Unconfirmed: " . $dBlocksUnconfirmedBalance); $log->logInfo(' found ' . count($aManualPayouts) . ' queued manual payouts'); $mask = ' | %-10.10s | %-25.25s | %-20.20s | %-40.40s | %-20.20s |'; $log->logInfo(sprintf($mask, 'UserID', 'Username', 'Balance', 'Address', 'Payout ID')); @@ -147,7 +147,7 @@ if ($setting->getValue('disable_auto_payouts') != 1 && $aAutoPayouts) { $monitoring->endCronjob($cron_name, 'E0079', 0, true); } - $log->logInfo("Auto Payout Sum: " . $dAPTotalAmount . " - Wallet Balance: " . $dWalletBalance . " with " . $dBlocksUnconfirmedBalance . " unconfirmed"); + $log->logInfo("Auto Payout Sum: " . $dAPTotalAmount . " - Liwuid Assets: " . $dWalletBalance . " - Wallet Balance: " . $dWalletBalance + $dBlocksUnconfirmedBalance . " - Unconfirmed: " . $dBlocksUnconfirmedBalance); $log->logInfo(' found ' . count($aAutoPayouts) . ' queued auto payouts'); $mask = ' | %-10.10s | %-25.25s | %-20.20s | %-40.40s | %-20.20s |'; $log->logInfo(sprintf($mask, 'UserID', 'Username', 'Balance', 'Address', 'Threshold'));