[3.8] Error logs

Fix few errors, pimp the logger for better analysis