From f004d9ec46d8759cb11f4f1d04a6d7862c88ee77 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 28 Sep 2010 00:04:19 +0000 Subject: [PATCH] return the trace-augmented message as written to the log git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2028 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perl/lib/OpenSRF/Utils/Logger.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/perl/lib/OpenSRF/Utils/Logger.pm b/src/perl/lib/OpenSRF/Utils/Logger.pm index a524e35..2a450ae 100644 --- a/src/perl/lib/OpenSRF/Utils/Logger.pm +++ b/src/perl/lib/OpenSRF/Utils/Logger.pm @@ -255,6 +255,8 @@ sub _log_message { if( is_syslog() ) { syslog( $fac | $l, $msg ); } elsif( is_filelog() ) { _write_file($msg); } } + + return $msg; } sub _write_file { -- 2.11.0