Added logging to RestMappingExceptionResolver and fixed anonymous profile.