From 2033893ed4cb804864d7e0b6854bf0e35bdea663 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 25 Oct 2019 08:49:15 +0000 Subject: [PATCH] Bug 23896: logaction should pass the correct interface to Koha::Logger Content-Type: text/plain; charset=utf-8 Trivial fix. Test plan: Run t/db../Log.t to ensure that we did not break stuff. If you set opac to debug in log4perl config, inspect opac-error.log to see if you have extra loglines from running the test script. Signed-off-by: Marcel de Rooy --- C4/Log.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Log.pm b/C4/Log.pm index 34e2b609c2..7d193e3773 100644 --- a/C4/Log.pm +++ b/C4/Log.pm @@ -84,7 +84,7 @@ sub logaction { my $logger = Koha::Logger->get( { - interface => 'intranet', + interface => $interface, category => "ActionLogs.$modulename.$actionname" } ); -- 2.11.0