__author__ = 'Gavin M. Roy <gavinmroy@gmail.com>'
__since__ = "2009-09-10"
__version__ = "3.4.2"

from consumer import Consumer
from consumer import PublishingConsumer
from consumer import SmartConsumer
from consumer import SmartPublishingConsumer
from consumer import ConsumerException
from consumer import MessageException

import logging
try:
    from logging import NullHandler
except ImportError:
    class NullHandler(logging.Handler):
        """Python 2.6 does not have a NullHandler"""
        def emit(self, record):
            """Emit a record

            :param record record: The record to emit

            """
            pass

logging.getLogger('rejected').addHandler(NullHandler())

__author__ = 'Gavin M. Roy <gavinmroy@gmail.com>'
__since__ = "2009-09-10"
__version__ = "3.4.2"

from consumer import Consumer
from consumer import PublishingConsumer
from consumer import SmartConsumer
from consumer import SmartPublishingConsumer
from consumer import ConsumerException
from consumer import MessageException

import logging
try:
    from logging import NullHandler
except ImportError:
    class NullHandler(logging.Handler):
        """Python 2.6 does not have a NullHandler"""
        def emit(self, record):
            """Emit a record

            :param record record: The record to emit

            """
            pass

logging.getLogger('rejected').addHandler(NullHandler())
logging.getLogger('rejected.consumer').addHandler(NullHandler())

Add an additional null handler
Add an additional null handler

  __author__ = 'Gavin M. Roy <gavinmroy@gmail.com>'
  __since__ = "2009-09-10"
  __version__ = "3.4.2"
  
  from consumer import Consumer
  from consumer import PublishingConsumer
  from consumer import SmartConsumer
  from consumer import SmartPublishingConsumer
  from consumer import ConsumerException
  from consumer import MessageException
  
  import logging
  try:
      from logging import NullHandler
  except ImportError:
      class NullHandler(logging.Handler):
          """Python 2.6 does not have a NullHandler"""
          def emit(self, record):
              """Emit a record
  
              :param record record: The record to emit
  
              """
              pass
  
  logging.getLogger('rejected').addHandler(NullHandler())
+ logging.getLogger('rejected.consumer').addHandler(NullHandler())
  
Add an additional null handler
## Code Before:
__author__ = 'Gavin M. Roy <gavinmroy@gmail.com>'
__since__ = "2009-09-10"
__version__ = "3.4.2"

from consumer import Consumer
from consumer import PublishingConsumer
from consumer import SmartConsumer
from consumer import SmartPublishingConsumer
from consumer import ConsumerException
from consumer import MessageException

import logging
try:
    from logging import NullHandler
except ImportError:
    class NullHandler(logging.Handler):
        """Python 2.6 does not have a NullHandler"""
        def emit(self, record):
            """Emit a record

            :param record record: The record to emit

            """
            pass

logging.getLogger('rejected').addHandler(NullHandler())

## Instruction:
Add an additional null handler
## Code After:
__author__ = 'Gavin M. Roy <gavinmroy@gmail.com>'
__since__ = "2009-09-10"
__version__ = "3.4.2"

from consumer import Consumer
from consumer import PublishingConsumer
from consumer import SmartConsumer
from consumer import SmartPublishingConsumer
from consumer import ConsumerException
from consumer import MessageException

import logging
try:
    from logging import NullHandler
except ImportError:
    class NullHandler(logging.Handler):
        """Python 2.6 does not have a NullHandler"""
        def emit(self, record):
            """Emit a record

            :param record record: The record to emit

            """
            pass

logging.getLogger('rejected').addHandler(NullHandler())
logging.getLogger('rejected.consumer').addHandler(NullHandler())
