From bffdf9b736061ea644cfa3a517b8d757b6ee0881 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 26 Apr 2013 14:10:57 +0200 Subject: [PATCH] Wiederkehrende Rechnung: Debugmeldungen immer, aber auf Level DEBUG1 ausgeben --- SL/BackgroundJob/CreatePeriodicInvoices.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/BackgroundJob/CreatePeriodicInvoices.pm b/SL/BackgroundJob/CreatePeriodicInvoices.pm index aa58f0053..a316c3afa 100644 --- a/SL/BackgroundJob/CreatePeriodicInvoices.pm +++ b/SL/BackgroundJob/CreatePeriodicInvoices.pm @@ -64,9 +64,9 @@ sub run { } sub _log_msg { - # my $message = join('', @_); - # $message .= "\n" unless $message =~ m/\n$/; - # $::lxdebug->message(0, $message); + my $message = join('', @_); + $message .= "\n" unless $message =~ m/\n$/; + $::lxdebug->message(LXDebug::DEBUG1(), $message); } sub _generate_time_period_variables { -- 2.20.1