Some logging for debug mode only