Generalize log messages.