From 87eb710ad024da8a2018eba6442ed37d76a8bf98 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 Signed-off-by: Joy Nelson (cherry picked from commit b078794fcb1705769dd78e5b156b3def35d7e195) Signed-off-by: Lucas Gass --- 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