1. ivy.log.info(ivy.session.getSessionUserName()); = Gives the Username of the User logged in which ist performing the Task where this is coded.
ivy.log.info(ivy.task.getActivatorName()); = Gives the Username of the Activator of the Task.
2. If it is nott not logged automaticaly by the engine then you have to write the logging steps yourself ivy.logging.info(String).
3. See Pt. 2
4. ivy.logging.info(**out**.data.data).
5. You don't, at least I have not found out a way to do it. AFAIK all rights management is done in the Admin Module.