Logging of impersonated activity


Users who are members of DeveloperGroup, which grants (by default) DeveloperRole - enables that user to impersonate other users. This is used in the development process to validate security, for example - so that developers can validate data access entitlement as other users.

In production environments, DeveloperRole is generally not granted to anyone. However, it is sometimes necessary to grant it temporarily to troubleshoot a production application problem.

In such situations, is there any logging or way of tracking the actions of a user who is impersonating another user (to support audit purposes)?