make sure we have a monolog instance before returning it. closes #1295