From: erickson Date: Wed, 19 Dec 2007 20:17:35 +0000 (+0000) Subject: updating to use new osrf api X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4ad613481b8ca39bad0582011a2fca5596427017;p=Evergreen.git updating to use new osrf api git-svn-id: svn://svn.open-ils.org/ILS/trunk@8234 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/python/oils/utils/csedit.py b/Open-ILS/src/python/oils/utils/csedit.py index a813b00e9d..3a0e9adfa1 100644 --- a/Open-ILS/src/python/oils/utils/csedit.py +++ b/Open-ILS/src/python/oils/utils/csedit.py @@ -105,7 +105,7 @@ class CSEditor(object): # XXX improve param logging here - self.log(osrfLogInfo, "request %s %s" % (method, unicode(params))) + self.log(log_info, "request %s %s" % (method, unicode(params))) if self.xact and self.session().state != OSRF_APP_SESSION_CONNECTED: self.log(log_error, "csedit lost its connection!") @@ -118,7 +118,7 @@ class CSEditor(object): val = resp.content() except Exception, e: - self.log(osrfLogErr, "request error: %s" % unicode(e)) + self.log(log_error, "request error: %s" % unicode(e)) raise e return val @@ -158,7 +158,7 @@ class CSEditor(object): def rawSearch(self, args): method = "%s.json_query.atomic" % self.app - self.log(osrfLogDebug, "rawSearch args: %s" % unicode(args)) + self.log(log_debug, "rawSearch args: %s" % unicode(args)) return self.request(method, [args]) def rawSearch2(self, hint, fields, where, from_=None):