Log Viewer is a web-based application that helps you view and navigate log files on a Linux system. With an easy-to-use interface, you can quickly browse through log files
- PHP 8.0 or higher
- Composer
- A web server (e.g., Apache, Nginx)
- Clone the repository.
- Run
composer install
to install the dependencies. - Start the PHP built-in web server with
php -S localhost:8000
.
-
Open your browser and go to
http://localhost:8000
. -
Log in with the username
admin
and passwordadmin
. -
enter the path of file to view
it must start with /var/log
. -
Navigate through the log file using the pagination controls.
-
Log out when you are done.
To run the unit tests, execute the following command:
vendor/bin/phpunit
PHPUnit will execute the tests located in the tests
directory and display the results.