]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 25 Oct 2023 07:31:04 +0000 (21:31 -1000)
commitc2f1a41670f52835d1d0b00f12eb8faebc2ad636
tree1717fae326a28639b179e386e5a93ce6575a6b9a
parent1de535046a9285ddc5f1baf9d36f11b6fe71180c
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>
Koha/REST/V1.pm
Koha/REST/V1/OAuth/Client.pm