summaryrefslogtreecommitdiffstats
path: root/gluster/swift/common
diff options
context:
space:
mode:
Diffstat (limited to 'gluster/swift/common')
-rw-r--r--gluster/swift/common/middleware/gswauth/swauth/middleware.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gluster/swift/common/middleware/gswauth/swauth/middleware.py b/gluster/swift/common/middleware/gswauth/swauth/middleware.py
index c7f92f9..0a1c808 100644
--- a/gluster/swift/common/middleware/gswauth/swauth/middleware.py
+++ b/gluster/swift/common/middleware/gswauth/swauth/middleware.py
@@ -55,7 +55,7 @@ class Swauth(object):
def __init__(self, app, conf):
self.app = app
self.conf = conf
- self.logger = get_logger(conf, log_route='swauth')
+ self.logger = get_logger(conf, log_route='gswauth')
self.log_headers = conf.get('log_headers', 'no').lower() in TRUE_VALUES
self.reseller_prefix = conf.get('reseller_prefix', 'AUTH').strip()
if self.reseller_prefix and self.reseller_prefix[-1] != '_':
@@ -144,7 +144,7 @@ class Swauth(object):
raise Exception(
'Invalid auth_type in config file: %s'
% self.auth_type)
- self.auth_encoder.salt = conf.get('auth_type_salt', 'swauthsalt')
+ self.auth_encoder.salt = conf.get('auth_type_salt', 'gswauthsalt')
self.allow_overrides = \
conf.get('allow_overrides', 't').lower() in TRUE_VALUES
self.agent = '%(orig)s Swauth'