By default, Amezmo will create a dedicated directory for your application’s logging purposes. We recommend using this dedicated directory so you can persist your logs across deployments. The full path is
For this tutorial, we’ll be using a Laravel based web application. To follow along, open up the
app/config/logging.php file. For each log channel, change the default path from
/webroot/logs/laravel.log Your configuration file should look like similar to this:
<?php return [ 'default' => 'stack', 'channels' => [ 'daily' => [ 'driver' => 'daily', 'permission' => 0664, 'path' => '/webroot/logs/laravel.log', 'level' => 'debug', 'days' => 14, ], ], ];
With the above configuration, your log files will persist across deployments and you don’t have to worry about creating a symbolic link.