# Comment Logging and Stats

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FjmvKDs9GhNJvlw2paiwB%2Fdlxplugins-1677184490706-1x.webp?alt=media&#x26;token=baa524a7-51dc-42a0-8485-bbc07d129970" alt=""><figcaption><p>Comment Logging Option</p></figcaption></figure>

## Enabling Comment Logging

Comment Logging is taking an extra precaution when users edit their comments. If you have a long timer or unlimited editing enabled, logging will store all edits of a comment.

The edited comment is stored on the individual comment in the admin, and you can easily revert back to the original comment.

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FbNr5aLy149tRLrX2JZAc%2Fdlxplugins-1677188162529-1x.webp?alt=media&#x26;token=bf341940-c751-43b4-8d2d-5f16c082a17f" alt=""><figcaption><p>Comment Logging Example on the Edit Comment Screen</p></figcaption></figure>

## Restoring a Comment

With Comment Logging and Stats enabled, when a user leaves a comment, it is stored for reference so you can keep track of edits for a particular comment.

You can check out the edits for the comment, and even restore a previous edit.

Here's a quick demo of reverting a comment.

![Demo of Restoring a Comment](https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FKDcoryKooioWGRP5pgrP%2Fcomment-logging.gif?alt=media\&token=dbd4c15e-1bfd-479d-a75f-1eff47cdcde5)
