code: def _python3_record_factory(*args, **kwargs):
      
      record = _python_record_factory(*args, **kwargs)
      _update_record(record)
      return record
docs: Python 3 approach to custom logging, using `logging.getLogRecord(...)`
  
      Inspireb by: https://docs.python.org/3/howto/logging-cookbook.html#customizing-logrecord
  
      :return: A log record augmented with the values required by LOG_FORMAT, as per `_update_record(...)`