[freeside-commits] branch FREESIDE_3_BRANCH updated. fa45fdd61de3c4fe098eb9ba2e8e4b20a7b989b7

Ivan Kohler ivan at freeside.biz
Thu Mar 22 16:15:24 PDT 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  fa45fdd61de3c4fe098eb9ba2e8e4b20a7b989b7 (commit)
      from  9d67a30cabe500734e5fc931221a97cfa33618dd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fa45fdd61de3c4fe098eb9ba2e8e4b20a7b989b7
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Mar 22 16:15:23 2018 -0700

    save logging information so we have a historical record of exactly when problems happened, RT#79780

diff --git a/FS/FS/log_context.pm b/FS/FS/log_context.pm
index 7a59ea7d7..0ff8cc868 100644
--- a/FS/FS/log_context.pm
+++ b/FS/FS/log_context.pm
@@ -22,6 +22,7 @@ my @contexts = ( qw(
   queue
   upgrade
   upgrade_taxable_billpkgnum
+  freeside-ipifony-download
   freeside-paymentech-upload
   freeside-paymentech-download
 ) );
diff --git a/FS/bin/freeside-ipifony-download b/FS/bin/freeside-ipifony-download
index b01d80641..1e77c3a75 100644
--- a/FS/bin/freeside-ipifony-download
+++ b/FS/bin/freeside-ipifony-download
@@ -315,7 +315,7 @@ sub mylog {
   #warn "$message\n" if $opt{v};
   print STDERR "$message\n" if $opt{v};
   $log ||= FS::Log->new('freeside-ipifony-download');
-  $log->log(@_);
+  $log->log(level=>$level, message=>$message);
 }
 
 =head1 NAME

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/log_context.pm             | 1 +
 FS/bin/freeside-ipifony-download | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list