Skip to content

Load Logging configuration via Env, defaults to single #3458

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

Closed
wants to merge 1 commit into from
Closed

Load Logging configuration via Env, defaults to single #3458

wants to merge 1 commit into from

Conversation

marcorivm
Copy link

Allow the Logging configuration to be set via enviroment, for example, for development I want a single log, in forge I would prefer to log to the syslog so integrating papertrail is easier.

Allow the Logging configuration to be set via enviroment, for example, for development I want a single log, in forge I would prefer to log to the syslog so integrating papertrail is easier.
@GrahamCampbell
Copy link
Member

Just define this in your own app.

@marcorivm
Copy link
Author

@GrahamCampbell If Laravel is already providing .env abstraction for some variables, I do think that logging config would be good to be included by default.

Laravel should provide a consistent interface for using Config and .env, I think that changing the logging configuration depending on the environment is a good use case, and something that makes sense, so it should be available by default as an .env option.

@shehi
Copy link

shehi commented Nov 29, 2015

@marcorivm You maybe right, but bombarding issue management with micro-"desires" (yes, they are not features) like this which mostly are subjective ideas, never helps. Please do this 2-second-long task in your apps.

@crynobone
Copy link
Member

There no need to argue, a similar PR has been accepted and merged by Taylor #3551.

@marcorivm marcorivm deleted the patch-1 branch December 7, 2015 17:13
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