Fixing long parameter logging in DbalLogger:startQuery, added fallback to substr.