old_contents: import logging
  
  from janitor import cache
  from janitor.registry import Registry
  from janitor.utils import dumps
  
  
  resources = Registry('resources')
  
  
  class ResourceManager(object):
  
      def __init__(self, ctx, data):
          self.ctx = ctx
          self.session_factory = ctx.session_factory
          self.config = ctx.options
          self.data = data
          self.log_dir = ctx.log_dir
          self._cache = cache.factory(self.ctx.options)
          self.log = logging.getLogger('janitor.resources.%s' % (
              self.__class__.__name__.lower()))
  
      def format_json(self, resources, fh):
          return dumps(resources, fh, indent=2)
          
  
new_contents: import logging
  
  from janitor import cache
  from janitor.registry import Registry
  from janitor.utils import dumps
  
  
  resources = Registry('resources')
  
  
  class ResourceManager(object):
  
      def __init__(self, ctx, data):
          self.ctx = ctx
          self.session_factory = ctx.session_factory
          self.config = ctx.options
          self.data = data
          self.log_dir = ctx.log_dir
          self._cache = cache.factory(self.ctx.options)
          self.log = logging.getLogger('maid.resources.%s' % (
              self.__class__.__name__.lower()))
  
      def format_json(self, resources, fh):
          return dumps(resources, fh, indent=2)
          
  
subject: change stray janitor log reference to maid