Skip to content

Instantly share code, notes, and snippets.

@jhowbhz
Last active April 1, 2022 14:26
Show Gist options
  • Save jhowbhz/ff6ad08f28514ee3b613c8b555d46735 to your computer and use it in GitHub Desktop.
Save jhowbhz/ff6ad08f28514ee3b613c8b555d46735 to your computer and use it in GitHub Desktop.
Laravel log-viewer permissions missing daily folder
sudo chown -R www-data:www-data /path/to/your/laravel/root/directory
sudo usermod -a -G www-data USER_SYSTEM
config/logging.php
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'days' => 14,
'permission' => 0775,
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment