Update LogViewerController.php