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.