Tidy up loggers
Change-Id: Id2325e1f258ab52633ffe2880fc28eaa49eda828
This commit is contained in:
parent
53e98ce2cb
commit
77ebd42d79
|
@ -194,7 +194,7 @@ class GerritWatcher(threading.Thread):
|
||||||
|
|
||||||
class GerritConnection(BaseConnection):
|
class GerritConnection(BaseConnection):
|
||||||
driver_name = 'gerrit'
|
driver_name = 'gerrit'
|
||||||
log = logging.getLogger("connection.gerrit")
|
log = logging.getLogger("zuul.GerritConnection")
|
||||||
|
|
||||||
def __init__(self, connection_name, connection_config):
|
def __init__(self, connection_name, connection_config):
|
||||||
super(GerritConnection, self).__init__(connection_name,
|
super(GerritConnection, self).__init__(connection_name,
|
||||||
|
|
|
@ -23,7 +23,7 @@ from zuul.connection import BaseConnection
|
||||||
|
|
||||||
class SMTPConnection(BaseConnection):
|
class SMTPConnection(BaseConnection):
|
||||||
driver_name = 'smtp'
|
driver_name = 'smtp'
|
||||||
log = logging.getLogger("connection.smtp")
|
log = logging.getLogger("zuul.SMTPConnection")
|
||||||
|
|
||||||
def __init__(self, connection_name, connection_config):
|
def __init__(self, connection_name, connection_config):
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ import urlparse
|
||||||
|
|
||||||
|
|
||||||
class Swift(object):
|
class Swift(object):
|
||||||
log = logging.getLogger("zuul.lib.swift")
|
log = logging.getLogger("zuul.Swift")
|
||||||
|
|
||||||
def __init__(self, config):
|
def __init__(self, config):
|
||||||
self.config = config
|
self.config = config
|
||||||
|
|
|
@ -23,7 +23,7 @@ class GerritReporter(BaseReporter):
|
||||||
"""Sends off reports to Gerrit."""
|
"""Sends off reports to Gerrit."""
|
||||||
|
|
||||||
name = 'gerrit'
|
name = 'gerrit'
|
||||||
log = logging.getLogger("zuul.reporter.gerrit.Reporter")
|
log = logging.getLogger("zuul.GerritReporter")
|
||||||
|
|
||||||
def report(self, source, pipeline, item):
|
def report(self, source, pipeline, item):
|
||||||
"""Send a message to gerrit."""
|
"""Send a message to gerrit."""
|
||||||
|
|
|
@ -22,7 +22,7 @@ class SMTPReporter(BaseReporter):
|
||||||
"""Sends off reports to emails via SMTP."""
|
"""Sends off reports to emails via SMTP."""
|
||||||
|
|
||||||
name = 'smtp'
|
name = 'smtp'
|
||||||
log = logging.getLogger("zuul.reporter.smtp.Reporter")
|
log = logging.getLogger("zuul.SMTPReporter")
|
||||||
|
|
||||||
def report(self, source, pipeline, item):
|
def report(self, source, pipeline, item):
|
||||||
"""Send the compiled report message via smtp."""
|
"""Send the compiled report message via smtp."""
|
||||||
|
|
|
@ -22,7 +22,7 @@ from zuul.source import BaseSource
|
||||||
|
|
||||||
class GerritSource(BaseSource):
|
class GerritSource(BaseSource):
|
||||||
name = 'gerrit'
|
name = 'gerrit'
|
||||||
log = logging.getLogger("zuul.source.Gerrit")
|
log = logging.getLogger("zuul.GerritSource")
|
||||||
replication_timeout = 300
|
replication_timeout = 300
|
||||||
replication_retry_interval = 5
|
replication_retry_interval = 5
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ from zuul.trigger import BaseTrigger
|
||||||
|
|
||||||
class GerritTrigger(BaseTrigger):
|
class GerritTrigger(BaseTrigger):
|
||||||
name = 'gerrit'
|
name = 'gerrit'
|
||||||
log = logging.getLogger("zuul.trigger.Gerrit")
|
log = logging.getLogger("zuul.GerritTrigger")
|
||||||
|
|
||||||
def getEventFilters(self, trigger_conf):
|
def getEventFilters(self, trigger_conf):
|
||||||
def toList(item):
|
def toList(item):
|
||||||
|
|
|
@ -22,7 +22,7 @@ from zuul.trigger import BaseTrigger
|
||||||
|
|
||||||
class TimerTrigger(BaseTrigger):
|
class TimerTrigger(BaseTrigger):
|
||||||
name = 'timer'
|
name = 'timer'
|
||||||
log = logging.getLogger("zuul.Timer")
|
log = logging.getLogger("zuul.TimerTrigger")
|
||||||
|
|
||||||
def __init__(self, trigger_config={}, sched=None, connection=None):
|
def __init__(self, trigger_config={}, sched=None, connection=None):
|
||||||
super(TimerTrigger, self).__init__(trigger_config, sched, connection)
|
super(TimerTrigger, self).__init__(trigger_config, sched, connection)
|
||||||
|
|
Loading…
Reference in New Issue