Make log lines selectable (for example hidden checkboxes in each line) and allow the selection to be added as evidence to an action (like a ban).
Example use case:
Player sends multiple racial slurs in chat but legitimate messages as well, an admin can now select what messages to add to the ban.