def processor(status, sender, instance, updated=None, addition='<STR_LIT>'):
logger = logging.getLogger(__name__)<EOL>if validate_instance(instance):<EOL><INDENT>user = get_current_user()<EOL>application = instance._meta.app_label<EOL>model_name = instance.__class__.__name__<EOL>level = settings.AUTOMATED_LOGGING['<STR_LIT>']['<STR_LIT>']<EOL>if status == '<STR_LIT>':<EOL><INDENT>corrected = '<STR_LIT>'<EOL><DEDENT>elif status == '<STR_LIT>':<EOL><INDENT>corrected = '<STR_LIT>'<EOL><DEDENT>elif status == '<STR_LIT>':<EOL><INDENT>corrected = '<STR_LIT>'<EOL><DEDENT>logger.log(level,<EOL>('<STR_LIT>' % (user, corrected, instance, model_name, application, addition)).replace("<STR_LIT:U+0020>", "<STR_LIT:U+0020>"),<EOL>extra={'<STR_LIT:action>': '<STR_LIT>',<EOL>'<STR_LIT:data>': {<EOL>'<STR_LIT:status>': status,<EOL>'<STR_LIT:user>': user,<EOL>'<STR_LIT>': sender,<EOL>'<STR_LIT>': instance,<EOL>'<STR_LIT>': updated<EOL>}<EOL>})<EOL><DEDENT>
This is the standard logging processor.

This is used to send the log to the handler and to other systems.