<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Log Designer/ Engine</title><link>https://answers.axonivy.com/questions/1935/log-designer-engine</link><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have several questions about logging.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;How do I get the Role AND UserName of the Process Starting Person in my log file ? And in general the Role and Username of the working person on a task. Something like ivy.xxx.xxx ?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When I call a Web Service in the Designer, then in my Log File the input and output parameter are written down. But when I call the same Process on the Engine, I only get the input parameter of the web service, but not the output. How can I change this ?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Is it possible to log in which sort of Element the log was done ? Something like Script Step, User Task, etc...&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;With "ivy.task.getStartProcessData() " I can get the incoming Data but how can I get the outgoing Data ?  For example for a User Task, where the incoming data are changed by the user and these changed data are outgoing/flowing to another User Task. I tried "ivy.task.getEndProcessData()" but there I only get "null" as a result.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Another question: How can I configure the Permission and System Permissions in the Designer ?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;</description><atom:link href="https://answers.axonivy.com/questions/1935/log-designer-engine" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Aug 2016 15:39:21 -0400</lastBuildDate><item><title>Answer by RMS71</title><link>https://answers.axonivy.com/questions/1935/log-designer-engine/1955</link><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If it is not logged automaticaly by the engine then you have to write the logging steps yourself ivy.logging.info(String).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;See Pt. 2&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ivy.logging.info(&lt;strong&gt;out&lt;/strong&gt;.data.data).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RMS71</dc:creator><pubDate>Wed, 10 Aug 2016 15:39:21 -0400</pubDate><guid>https://answers.axonivy.com/questions/1935/log-designer-engine/1955</guid></item></channel></rss>