]> git.koha-community.org Git - koha.git/commit
Bug 34271: Remove a few Logger statements from REST API
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 13 Jul 2023 14:23:22 +0000 (14:23 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 13 Nov 2023 14:02:59 +0000 (14:02 +0000)
commit25b9edd5f8127af1e865e6b10a47e48ad705e5b6
tree55562e562feb543a2187becfbd3b8c23fcbf636a
parent9ab09a2243c5fe663494d94dcc1c41bcfb161083
Bug 34271: Remove a few Logger statements from REST API

See also bug 22678.
We should call app->log->warn, ->debug, etc. instead of Logger.

Test plan:
The simplest way I tested V1, is add a app->log->warn in the try
blocks, restart all and check that your log4perl is set correctly
too.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a3ce05012b8a2ee6b47c82d14f61c082798ab8a1)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit c2f1a41670f52835d1d0b00f12eb8faebc2ad636)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/REST/V1.pm
Koha/REST/V1/OAuth/Client.pm