]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 18 Oct 2023 13:26:03 +0000 (10:26 -0300)
commita3ce05012b8a2ee6b47c82d14f61c082798ab8a1
treeafeeac470ff9cd3da63c213285ba97ea5d7f665b
parentc063990a92fc056237071af3f0cf1b2b7933a59f
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>
Koha/REST/V1.pm
Koha/REST/V1/OAuth/Client.pm