Automatically mark logs on receiving messages in the background.