From 6c8d161702aa80b3893a1688927971258069b30d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 1 May 2014 15:39:52 -0700 Subject: [PATCH] CRM-14494 use preferred logger syntax --- extern/authorizeIPN.php | 2 +- extern/googleNotify.php | 2 +- extern/ipn.php | 4 ++-- extern/pxIPN.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extern/authorizeIPN.php b/extern/authorizeIPN.php index d30007616c..e1384e586c 100644 --- a/extern/authorizeIPN.php +++ b/extern/authorizeIPN.php @@ -36,7 +36,7 @@ session_start(); require_once '../civicrm.config.php'; $config = CRM_Core_Config::singleton(); $log = new CRM_Utils_SystemLogger(); -$log->log('alert', 'payment_notification processor_name=AuthNet', $_REQUEST); +$log->alert('payment_notification processor_name=AuthNet', $_REQUEST); $authorizeNetIPN = new CRM_Core_Payment_AuthorizeNetIPN(); $authorizeNetIPN->main(); diff --git a/extern/googleNotify.php b/extern/googleNotify.php index 1339ee0615..1314f17c61 100644 --- a/extern/googleNotify.php +++ b/extern/googleNotify.php @@ -37,7 +37,7 @@ require_once '../civicrm.config.php'; $config = CRM_Core_Config::singleton(); $log = new CRM_Utils_SystemLogger(); -$log->log('alert', 'payment_notification processor_name=Google_Checkout', $_REQUEST); +$log->alert('payment_notification processor_name=Google_Checkout', $_REQUEST); $rawPostData = file_get_contents('php://input'); CRM_Core_Payment_GoogleIPN::main($rawPostData); diff --git a/extern/ipn.php b/extern/ipn.php index 9b1e468a62..c01ed15fd5 100644 --- a/extern/ipn.php +++ b/extern/ipn.php @@ -40,11 +40,11 @@ require_once '../civicrm.config.php'; $config = CRM_Core_Config::singleton(); $log = new CRM_Utils_SystemLogger(); if (empty($_GET)) { - $log->log('alert', 'payment_notification processor_name=PayPal', $_REQUEST); + $log->alert('payment_notification processor_name=PayPal', $_REQUEST); $paypalIPN = new CRM_Core_Payment_PayPalProIPN($_REQUEST); } else { - $log->log('alert', 'payment_notification PayPal_Standard', $_REQUEST); + $log->alert('payment_notification PayPal_Standard', $_REQUEST); $paypalIPN = new CRM_Core_Payment_PayPalIPN(); // @todo upgrade standard per Pro } diff --git a/extern/pxIPN.php b/extern/pxIPN.php index 089d88dd7b..39fffc7ac8 100644 --- a/extern/pxIPN.php +++ b/extern/pxIPN.php @@ -18,7 +18,7 @@ require_once 'CRM/Core/Config.php'; $config = CRM_Core_Config::singleton(); $log = new CRM_Utils_SystemLogger(); -$log->log('alert', 'payment_notification processor_name=Payment_Express', $_REQUEST); +$log->alert('payment_notification processor_name=Payment_Express', $_REQUEST); /* * Get the password from the Payment Processor's table based on the DPS user id * being passed back from the server -- 2.25.1