Fix Monolog error where newer versions does not allow an empty stream
bug #1046 Fix Monolog error where newer versions does not allow an empty stream (henrikbjorn)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

Fix Monolog error where newer versions does not allow an empty stream

Fixes an error with Monolog, only problem is that i think i have already done this PR once before, but it have gone missing.

Commits
-------

26c7d59 Fix Monolog error where newer versions does not allow an empty stream