Bugzilla – Attachment 146066 Details for
Bug 32612
Koha background worker should log to worker-error/output.log
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32612: (QA follow-up) Add missing interface for Logger
Bug-32612-QA-follow-up-Add-missing-interface-for-L.patch (text/plain), 1.04 KB, created by
Marcel de Rooy
on 2023-02-03 10:00:10 UTC
(
hide
)
Description:
Bug 32612: (QA follow-up) Add missing interface for Logger
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-02-03 10:00:10 UTC
Size:
1.04 KB
patch
obsolete
>From b5f2c9a88981ad853307de0393c0b0c41655280f Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 3 Feb 2023 09:45:03 +0000 >Subject: [PATCH] Bug 32612: (QA follow-up) Add missing interface for Logger >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > misc/background_jobs_worker.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/background_jobs_worker.pl b/misc/background_jobs_worker.pl >index 829e48726e..b98d5f135f 100755 >--- a/misc/background_jobs_worker.pl >+++ b/misc/background_jobs_worker.pl >@@ -123,7 +123,7 @@ while (1) { > my $args = try { > $job->json->decode($job->data); > } catch { >- Koha::Logger->get->warn(sprintf "Cannot decode data for job id=%s", $job->id); >+ Koha::Logger->get({ interface => 'worker' })->warn(sprintf "Cannot decode data for job id=%s", $job->id); > $job->status('failed')->store; > return; > }; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32612
:
145218
|
145960
|
145972
|
145973
|
145974
|
145995
|
146025
|
146026
|
146027
|
146061
|
146062
|
146063
|
146064
|
146065
| 146066 |
146315
|
146353