code: def processor(status, sender, instance, updated=None, addition=''):
      
      logger = logging.getLogger(__name__)
      if validate_instance(instance):
          user = get_current_user()
          application = instance._meta.app_label
          model_name = instance.__class__.__name__
          level = settings.AUTOMATED_LOGGING['loglevel']['model']
  
          if status == 'change':
              corrected = 'changed'
          elif status == 'add':
              corrected = 'added'
          elif status == 'delete':
              corrected = 'deleted'
  
          logger.log(level,
                     ('%s %s %s(%s) in %s%s' % (user, corrected, instance, model_name, application, addition)).replace("  ", " "),
                     extra={'action': 'model',
                            'data': {
                                'status': status,
                                'user': user,
                                'sender': sender,
                                'instance': instance,
                                'update_fields': updated
                            }
                            })
docs: This is the standard logging processor.
  
      This is used to send the log to the handler and to other systems.