Added logging for orientations.