diff --git a/cronjobs/payouts.php b/cronjobs/payouts.php index 43a88ac3..8b097851 100755 --- a/cronjobs/payouts.php +++ b/cronjobs/payouts.php @@ -29,7 +29,7 @@ if ($setting->getValue('disable_payouts') == 1) { $log->logInfo(" payouts disabled via admin panel"); $monitoring->endCronjob($cron_name, 'E0009', 0, true, false); } -$log->logDebug("Starting Payout..."); +$log->logInfo("Starting Payout..."); if ($bitcoin->can_connect() !== true) { $log->logFatal(" unable to connect to RPC server, exiting"); $monitoring->endCronjob($cron_name, 'E0006', 1, true); @@ -65,7 +65,8 @@ if ($setting->getValue('disable_manual_payouts') != 1 && $aManualPayouts) { $log->logError(" Wallet does not cover MP payouts - Payout: " . $dMPTotalAmount . " - Balance: " . $dWalletBalance); $monitoring->endCronjob($cron_name, 'E0079', 0, true); } - + + $log->logInfo("Manual Payout Sum: " . $dMPTotalAmount . " - Wallet Balance: " . $dWalletBalance . " with " . $dBlocksUnconfirmedBalance . " unconfirmed"); $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')); @@ -145,7 +146,8 @@ if ($setting->getValue('disable_auto_payouts') != 1 && $aAutoPayouts) { $log->logError(" Wallet does not cover AP payouts - Payout: " . $dAPTotalAmount . " - Balance: " . $dWalletBalance); $monitoring->endCronjob($cron_name, 'E0079', 0, true); } - + + $log->logInfo("Auto Payout Sum: " . $dAPTotalAmount . " - Wallet Balance: " . $dWalletBalance . " with " . $dBlocksUnconfirmedBalance . " unconfirmed"); $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')); @@ -197,4 +199,4 @@ if ($setting->getValue('disable_auto_payouts') != 1 && $aAutoPayouts) { } } -require_once('cron_end.inc.php'); \ No newline at end of file +require_once('cron_end.inc.php');