[Koha-bugs] [Bug 19652] Debug-level logging for response JSON

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 20 13:18:47 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19652

Lari Taskula <lari.taskula at jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #69225|0                           |1
        is obsolete|                            |

--- Comment #2 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 69233
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69233&action=edit
Bug 19652: Debug-level logging for response JSON

This patch adds debug-level logging for response JSON. This is useful for
viewing
responses via REST API log file.

To test:
1. prove t/db_dependent/api/v1.t
2. Configure log4perl configuration file for REST API and set log level to
DEBUG
3. Make any request to existing REST API endpoint
4. Observe response JSON in your log file

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list