Added methods removeLastLog and getRedoStack to support log append
rollbacks.