erc-log-matches-flag

erc-log-matches-flag is a variable defined in `erc-match.el'.
Its value is
away


Documentation:
Flag specifying when matched message logging should happen.
When nil, don't log any matched messages.
When t, log messages.
When 'away, log messages only when away.

You can customize this variable.