Fixes logging support