old_contents: import logging
  try:
      # not available in python 2.6
      from logging import NullHandler
  except ImportError:
      class NullHandler(logging.Handler):
          def emit(self, record):
              pass
  
  from .kuyruk import Kuyruk
  from .task import Task
  from .worker import Worker
  from .queue import Queue
  from .exceptions import Reject
  
  # Add NullHandler to prevent logging warnings on startup
  logging.getLogger(__name__).addHandler(NullHandler())
  
new_contents: import logging
  try:
      # not available in python 2.6
      from logging import NullHandler
  except ImportError:
      class NullHandler(logging.Handler):
          def emit(self, record):
              pass
  
  from .kuyruk import Kuyruk
  from .task import Task
  from .worker import Worker
  from .queue import Queue
  from .exceptions import Reject
  
  # Add NullHandler to prevent logging warnings on startup
  null_handler = NullHandler()
  logging.getLogger('kuyruk').addHandler(null_handler)
  logging.getLogger('pika').addHandler(null_handler)
  
subject: add nullhandler to pika logger