[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 12:59:58 CET 2017


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

--- Comment #1 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 69225
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69225&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.
You are the assignee for the bug.


More information about the Koha-bugs mailing list