How do I save laravel.log to Amazon AWS S3?

Posted 1 year ago by hellomars

Dear users,

I would like to save my laravel.log to S3. I have created a bucket on S3 and able to read and save a sample text file on S3 using Tinker.

I've changed the local storage line in config\filesystems.php from:

'default' => env('FILESYSTEM_DRIVER', 'local'),


 'default' => env('FILESYSTEM_CLOUD', 's3'),

But I still get a new log file in the local storage folder.... Who knows how to get this into S3?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.