Update LogRevisionsListener.php

Changed class variables and methods from private to protected for extensability