Fixing long parameter logging in DbalLogger:startQuery

DbalLogger:startQuery function cut the incoming parameters with use of wrong function (substr instead of mb_substr) and with wrong parameters.