functionality added to maintain log history