Ugly hack to enable DEBUG logging