truncate empty chars
added logger bindings; fixed bug in logger bindings