code: def makePickle(self, record):
          
          #ei = record.exc_info
          #if ei:
          #    dummy = self.format(record) # just to get traceback text into record.exc_text
          #    record.exc_info = None  # to avoid Unpickleable error
          s = '%s%s:%i:%s\n' % (self.prefix, record.name, int(record.created), self.format(record))
          #if ei:
          #    record.exc_info = ei  # for next handler
          return s
docs: Use JSON.