Configuring route & domain

Before you're able to configure this, make sure to first publish the configuration file.

Log Viewer allows you to configure how and where the Log Viewer is accessible from.

Configuring the route

By default, the Log Viewer is accessible via the /log-viewer route.

This can be configured in the config/log-viewer.php file:

    /*    |------------------------------------------------------------------    | Log Viewer Route    |------------------------------------------------------------------    | Log Viewer will be available under this URL.    |    */    'route_path' => 'log-viewer',    

Configuring the domain

If you would like to make the Log Viewer accessible on a certain domain/subdomain only, you can configure that as well:

    /*    |------------------------------------------------------------------    | Log Viewer Domain    |------------------------------------------------------------------    | You may change the domain where Log Viewer should be active.    | If the domain is empty, all domains will be valid.    |    */    'route_domain' => null,    

Support

If you have any questions, feedback, or need any help setting up Log Viewer within your project, feel free to reach out via GitHub Discussions or GitHub Issues .