--- a/Allura/allura/lib/rest_api.py
+++ b/Allura/allura/lib/rest_api.py
@@ -8,6 +8,9 @@
 
 from tg.controllers.util import smart_str
 from formencode import variabledecode
+
+
+log = logging.getLogger(__name__)
 
 class RestClient(object):
 
@@ -60,7 +63,7 @@
                                           if k.lower() not in ("content-length", "content-type")
                                          )
                         result = urlparse(newurl)
-                        print 'Redirect to %s' % result.path
+                        log.debug('Redirect to %s' % result.path)
                         return client.Request(
                             'GET', result.path,
                             headers=newheaders,