commit/galaxy-central: dannon: Mask password from connection log in queue worker.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/3fdbd1437678/ Changeset: 3fdbd1437678 User: dannon Date: 2015-02-13 19:15:22+00:00 Summary: Mask password from connection log in queue worker. Affected #: 1 file diff -r 586064ce6704b93685f93230dc788aeda0160d41 -r 3fdbd1437678b2e3edd24b14a2658c5ec1a7dcb3 lib/galaxy/queue_worker.py --- a/lib/galaxy/queue_worker.py +++ b/lib/galaxy/queue_worker.py @@ -20,7 +20,7 @@ from kombu.mixins import ConsumerMixin from kombu.pools import producers - +logging.getLogger('kombu').setLevel(logging.WARNING) log = logging.getLogger(__name__) @@ -32,7 +32,7 @@ """ def __init__(self, app, queue, task_mapping, connection=None): super(GalaxyQueueWorker, self).__init__() - log.info("Initalizing Galaxy Queue Worker on %s", app.config.amqp_internal_connection) + log.info("Initalizing Galaxy Queue Worker on %s", util.mask_password_from_url(app.config.amqp_internal_connection)) if connection: self.connection = connection else: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org