]> git.evergreen-ils.org Git - OpenSRF.git/commit
Consolidate duplicate osrfMethodVerifyContext handler
authorBill Erickson <berick@esilibrary.com>
Wed, 17 Oct 2012 19:57:14 +0000 (15:57 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 8 Nov 2012 17:51:27 +0000 (12:51 -0500)
commitfd53b3667a2e85ab53c60f1806cbe93d5b331497
tree3b5aaf64657d516a276a2f8ef1faee06aec45fa9
parent451115acca840ebfef57320a3ce435db0223f2d6
Consolidate duplicate osrfMethodVerifyContext handler

Log redaction was not occuring in some cases because the code was using
the OSRF_METHOD_VERIFY_CONTEXT macro instead of the similarly named
function which does the same thing.  This change points the macro at the
function so that all code uses the same underlying code.

Note this change turns on CALL param logging unconditionally, whereas
users of the macro would previously have been able to avoid CALL logging
via the OSRF_LOG_PARAMS variable.  In practice, little code uses the
macro and all code enables OSRF_LOG_PARAMS.  If we need to add this
control back, it can be added directly to osrfMethodVerifyContext().
For now, it's one less env variable we need to define.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dan@coffeecode.net>
include/opensrf/osrf_application.h