# Redaction order versus logging and memory

memory advisor is fixed at HIGHEST_PRECEDENCE + 200
user says: My email is priya@example.com

A  redaction +100, logging +400 (redaction outside both):
     log line saw:   "My email is <EMAIL_1>"
     memory stored:  "My email is <EMAIL_1>"
     model was sent: "My email is <EMAIL_1>"

B  redaction +100, logging +50 (logging outside redaction):
     log line saw:   "My email is priya@example.com"
     memory stored:  "My email is <EMAIL_1>"
     model was sent: "My email is <EMAIL_1>"

C  redaction +300 (inside the memory advisor), logging +400:
     log line saw:   "My email is <EMAIL_1>"
     memory stored:  "My email is priya@example.com"
     model was sent: "My email is <EMAIL_1>"
