Add debug loggings for some actions with issues.