Specify default $log arg value for DebugException

When mongobridge is not found, this exception is thrown and there is no $log available to use.
Merge pull request #574
Merge branch 'v1.4'