Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.x] Allow configurable emergency logger #30873

Merged
merged 4 commits into from
Dec 18, 2019
Merged

[6.x] Allow configurable emergency logger #30873

merged 4 commits into from
Dec 18, 2019

Conversation

Michael-Stokoe
Copy link
Contributor

@Michael-Stokoe Michael-Stokoe commented Dec 18, 2019

This allows for an emergency logger channel config item in config/logging.php

Use case: Serverless environment or Docker container without persistent storage. If main logger fails, logs may be lost. This will help prevent that by allowing us to specify stderr or stdout as the logger's path. (This will allow us to forward logs onto an ELK stack etc.)

Relies on: laravel/laravel#5179

This allows for an emergency logger channel config item in config/logging.php

Use case: Serverless environment or Docker container without persistent storage. If main logger fails, logs may be lost. This will help prevent that by allowing us to specify stderr or stdout as the logger's path. (This will allow us to forward logs onto an ELK stack etc.)
@Michael-Stokoe
Copy link
Contributor Author

https://travis-ci.org/laravel/framework/jobs/626652915?utm_medium=notification&utm_source=github_status

memcached issue from TravisCI. Not sure what the cause of this is.

@Michael-Stokoe Michael-Stokoe changed the title Allow configurable emergency logger [6.x] Allow configurable emergency logger Dec 18, 2019
@Michael-Stokoe
Copy link
Contributor Author

My bad! I just realised I used the storage_path() helper rather than $this->app->storagePath()

@GrahamCampbell
Copy link
Member

I've already fixed this up. :)

@taylorotwell taylorotwell merged commit dba030b into laravel:6.x Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants