Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

More lenient db detection in Logger abstract factory #5588

Merged

Conversation

weierophinney
Copy link
Member

The fix for #5254 was too strict in that it checked for a very specific writer name, when it should only be checking the "db" options key. This PR modifies the behavior of the logger abstract factory to do that.

- Do not check on the writer name, only the presence, type, and
  availability of the "db" option value.

  See zendframework#5254 (comment)
ralphschindler pushed a commit that referenced this pull request Dec 5, 2013
Merge branch 'weierophinney-hotfix/5254-improvement'

* weierophinney-hotfix/5254-improvement:
  Improvement to #5254
@ralphschindler ralphschindler merged commit d0d6a79 into zendframework:master Dec 5, 2013
ralphschindler pushed a commit that referenced this pull request Dec 5, 2013
Merge branch 'weierophinney-hotfix/5254-improvement' into develop

* weierophinney-hotfix/5254-improvement:
  Improvement to #5254
@weierophinney weierophinney deleted the hotfix/5254-improvement branch December 5, 2013 21:04
gianarb pushed a commit to zendframework/zend-log that referenced this pull request May 15, 2015
Merge branch 'weierophinney-hotfix/5254-improvement'

* weierophinney-hotfix/5254-improvement:
  Improvement to zendframework/zendframework#5254
gianarb pushed a commit to zendframework/zend-log that referenced this pull request May 15, 2015
Merge branch 'weierophinney-hotfix/5254-improvement' into develop

* weierophinney-hotfix/5254-improvement:
  Improvement to zendframework/zendframework#5254
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants