From eb970752b402fab61ab94ef8fa029eca3570de15 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 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 Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- 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.39.5