added UnauthorizedAccessException handler to logmanager.