summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-04-24 10:56:56 -0300
committerdrebs <drebs@leap.se>2015-04-24 10:56:56 -0300
commit151a2f5bf74701e9e1672847a11b10360263db09 (patch)
tree67976a38676afbd9e9544c0bc71d591055808856 /src/leap
parentda08ab21bc56a0905db8697032ee1fcbef6298f7 (diff)
[feat] make log messages match postfix's config
Change the virtual alias map and the access recipien access checker log messages so they match postfix's configuration statements.
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/mx/alias_resolver.py2
-rw-r--r--src/leap/mx/check_recipient_access.py2
-rw-r--r--src/leap/mx/tcp_map.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/mx/alias_resolver.py b/src/leap/mx/alias_resolver.py
index c6f2acc..bf7a58b 100644
--- a/src/leap/mx/alias_resolver.py
+++ b/src/leap/mx/alias_resolver.py
@@ -77,4 +77,4 @@ class AliasResolverFactory(LEAPPostfixTCPMapServerFactory):
@property
def _query_message(self):
- return "Resolving alias for"
+ return "virtual alias map"
diff --git a/src/leap/mx/check_recipient_access.py b/src/leap/mx/check_recipient_access.py
index 55460a6..f994e78 100644
--- a/src/leap/mx/check_recipient_access.py
+++ b/src/leap/mx/check_recipient_access.py
@@ -84,5 +84,5 @@ class CheckRecipientAccessFactory(LEAPPostfixTCPMapServerFactory):
@property
def _query_message(self):
- return "Checking recipient access for"
+ return "check recipient access"
diff --git a/src/leap/mx/tcp_map.py b/src/leap/mx/tcp_map.py
index 597c830..96db70a 100644
--- a/src/leap/mx/tcp_map.py
+++ b/src/leap/mx/tcp_map.py
@@ -66,7 +66,7 @@ class LEAPPostfixTCPMapServerFactory(ServerFactory, object):
and pgp key.
:rtype: Deferred
"""
- log.msg("%s %s" % (self._query_message, lookup_key,))
+ log.msg("%s: %s" % (self._query_message, lookup_key,))
d = self._cdb.getUuidAndPubkey(lookup_key)
d.addErrback(log.err)
return d