<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Logging problems in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/logging-problems/m-p/40893#M17148</link>
    <description>&lt;P&gt;Hi! I'm working with Alfresco Maven SDK, following the steps from here:&amp;nbsp;&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html#introduction" target="_self" rel="nofollow noopener noreferrer"&gt;https://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html#introduction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I chose the last version of SDK.&lt;/P&gt;&lt;P&gt;I created this diagram:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/processdef"&amp;gt;
  &amp;lt;process id="helloWorld" name="Hello World" isExecutable="true"&amp;gt;
    &amp;lt;startEvent id="sid-4e762918-2c74-4b5d-a951-5c8623f76885" name="Start" activiti:formKey="scwf:submitHelloWorldTask"/&amp;gt;
    &amp;lt;userTask id="sid-ffa0c4f2-08c5-4df3-8cea-d941311f80ad" name="Alfresco User Task" activiti:assignee="${initiator.properties.userName}" activiti:formKey="wf:activitiReviewTask"/&amp;gt;
    &amp;lt;sequenceFlow id="sid-e7d03eaa-4ce8-4056-8ec2-e17ca365240e" sourceRef="sid-4e762918-2c74-4b5d-a951-5c8623f76885" targetRef="sid-ffa0c4f2-08c5-4df3-8cea-d941311f80ad"&amp;gt;
      &amp;lt;extensionElements&amp;gt;
        &amp;lt;activiti:executionListener event="start" class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener"&amp;gt;
          &amp;lt;activiti:field name="script"&amp;gt;
            &amp;lt;activiti:string&amp;gt;logger.log("Hello, World!");&amp;lt;/activiti:string&amp;gt;
          &amp;lt;/activiti:field&amp;gt;
        &amp;lt;/activiti:executionListener&amp;gt;
      &amp;lt;/extensionElements&amp;gt;
    &amp;lt;/sequenceFlow&amp;gt;
    &amp;lt;endEvent id="sid-6cb74d1d-927f-45d8-96de-00b82a06982a"/&amp;gt;
    &amp;lt;sequenceFlow id="sid-5831021d-ad0a-4ed0-8794-42b787fc5bde" sourceRef="sid-ffa0c4f2-08c5-4df3-8cea-d941311f80ad" targetRef="sid-6cb74d1d-927f-45d8-96de-00b82a06982a"/&amp;gt;
  &amp;lt;/process&amp;gt;
  &amp;lt;bpmndi:BPMNDiagram id="BPMNDiagram_helloWorld"&amp;gt;
    &amp;lt;bpmndi:BPMNPlane bpmnElement="helloWorld" id="BPMNPlane_helloWorld"&amp;gt;
      &amp;lt;bpmndi:BPMNShape id="shape-3904a25f-c60e-4f4e-8bde-1abe76ac43b1" bpmnElement="sid-4e762918-2c74-4b5d-a951-5c8623f76885"&amp;gt;
        &amp;lt;omgdc:Bounds x="-85.75" y="-31.25" width="30.0" height="30.0"/&amp;gt;
      &amp;lt;/bpmndi:BPMNShape&amp;gt;
      &amp;lt;bpmndi:BPMNShape id="shape-ea7c0587-2885-489c-8ff5-43339daef659" bpmnElement="sid-ffa0c4f2-08c5-4df3-8cea-d941311f80ad"&amp;gt;
        &amp;lt;omgdc:Bounds x="-10.75" y="-35.0" width="52.999996" height="37.5"/&amp;gt;
      &amp;lt;/bpmndi:BPMNShape&amp;gt;
      &amp;lt;bpmndi:BPMNEdge id="edge-ed4e610c-20d4-4482-b3eb-c5e5e50c56bd" bpmnElement="sid-e7d03eaa-4ce8-4056-8ec2-e17ca365240e"&amp;gt;
        &amp;lt;omgdi:waypoint x="-55.75" y="-16.25"/&amp;gt;
        &amp;lt;omgdi:waypoint x="-10.75" y="-16.25"/&amp;gt;
      &amp;lt;/bpmndi:BPMNEdge&amp;gt;
      &amp;lt;bpmndi:BPMNShape id="shape-76cd5615-01e4-4c1c-9941-047bc7e33454" bpmnElement="sid-6cb74d1d-927f-45d8-96de-00b82a06982a"&amp;gt;
        &amp;lt;omgdc:Bounds x="85.75" y="-31.25" width="30.0" height="30.0"/&amp;gt;
      &amp;lt;/bpmndi:BPMNShape&amp;gt;
      &amp;lt;bpmndi:BPMNEdge id="edge-a90c2312-f16d-4fa2-a4c4-c36b073e4642" bpmnElement="sid-5831021d-ad0a-4ed0-8794-42b787fc5bde"&amp;gt;
        &amp;lt;omgdi:waypoint x="42.25" y="-16.25"/&amp;gt;
        &amp;lt;omgdi:waypoint x="85.75" y="-16.250004"/&amp;gt;
      &amp;lt;/bpmndi:BPMNEdge&amp;gt;
    &amp;lt;/bpmndi:BPMNPlane&amp;gt;
  &amp;lt;/bpmndi:BPMNDiagram&amp;gt;
&amp;lt;/definitions&amp;gt;&lt;/PRE&gt;&lt;P&gt;And I don't see the log:&lt;EM&gt;&amp;nbsp;logger.log("Hello, World!");&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I already change this value in dev-log4j.xml:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;log4j.logger.org.alfresco.repo.jscript.ScriptLogger&lt;/SPAN&gt;=&lt;SPAN&gt;DEBUG&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I tried a lot of things but I don't know what to do.&lt;/P&gt;&lt;P&gt;Also I'm not sure where should I see that log. I have running docker containers after execute this command on the REPO:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;./run.sh build_start&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!!&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Feb 2024 20:08:55 GMT</pubDate>
    <dc:creator>atoyos</dc:creator>
    <dc:date>2024-02-06T20:08:55Z</dc:date>
    <item>
      <title>Logging problems</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/logging-problems/m-p/40893#M17148</link>
      <description>&lt;P&gt;Hi! I'm working with Alfresco Maven SDK, following the steps from here:&amp;nbsp;&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html#introduction" target="_self" rel="nofollow noopener noreferrer"&gt;https://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html#introduction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I chose the last version of SDK.&lt;/P&gt;&lt;P&gt;I created this diagram:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/processdef"&amp;gt;
  &amp;lt;process id="helloWorld" name="Hello World" isExecutable="true"&amp;gt;
    &amp;lt;startEvent id="sid-4e762918-2c74-4b5d-a951-5c8623f76885" name="Start" activiti:formKey="scwf:submitHelloWorldTask"/&amp;gt;
    &amp;lt;userTask id="sid-ffa0c4f2-08c5-4df3-8cea-d941311f80ad" name="Alfresco User Task" activiti:assignee="${initiator.properties.userName}" activiti:formKey="wf:activitiReviewTask"/&amp;gt;
    &amp;lt;sequenceFlow id="sid-e7d03eaa-4ce8-4056-8ec2-e17ca365240e" sourceRef="sid-4e762918-2c74-4b5d-a951-5c8623f76885" targetRef="sid-ffa0c4f2-08c5-4df3-8cea-d941311f80ad"&amp;gt;
      &amp;lt;extensionElements&amp;gt;
        &amp;lt;activiti:executionListener event="start" class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener"&amp;gt;
          &amp;lt;activiti:field name="script"&amp;gt;
            &amp;lt;activiti:string&amp;gt;logger.log("Hello, World!");&amp;lt;/activiti:string&amp;gt;
          &amp;lt;/activiti:field&amp;gt;
        &amp;lt;/activiti:executionListener&amp;gt;
      &amp;lt;/extensionElements&amp;gt;
    &amp;lt;/sequenceFlow&amp;gt;
    &amp;lt;endEvent id="sid-6cb74d1d-927f-45d8-96de-00b82a06982a"/&amp;gt;
    &amp;lt;sequenceFlow id="sid-5831021d-ad0a-4ed0-8794-42b787fc5bde" sourceRef="sid-ffa0c4f2-08c5-4df3-8cea-d941311f80ad" targetRef="sid-6cb74d1d-927f-45d8-96de-00b82a06982a"/&amp;gt;
  &amp;lt;/process&amp;gt;
  &amp;lt;bpmndi:BPMNDiagram id="BPMNDiagram_helloWorld"&amp;gt;
    &amp;lt;bpmndi:BPMNPlane bpmnElement="helloWorld" id="BPMNPlane_helloWorld"&amp;gt;
      &amp;lt;bpmndi:BPMNShape id="shape-3904a25f-c60e-4f4e-8bde-1abe76ac43b1" bpmnElement="sid-4e762918-2c74-4b5d-a951-5c8623f76885"&amp;gt;
        &amp;lt;omgdc:Bounds x="-85.75" y="-31.25" width="30.0" height="30.0"/&amp;gt;
      &amp;lt;/bpmndi:BPMNShape&amp;gt;
      &amp;lt;bpmndi:BPMNShape id="shape-ea7c0587-2885-489c-8ff5-43339daef659" bpmnElement="sid-ffa0c4f2-08c5-4df3-8cea-d941311f80ad"&amp;gt;
        &amp;lt;omgdc:Bounds x="-10.75" y="-35.0" width="52.999996" height="37.5"/&amp;gt;
      &amp;lt;/bpmndi:BPMNShape&amp;gt;
      &amp;lt;bpmndi:BPMNEdge id="edge-ed4e610c-20d4-4482-b3eb-c5e5e50c56bd" bpmnElement="sid-e7d03eaa-4ce8-4056-8ec2-e17ca365240e"&amp;gt;
        &amp;lt;omgdi:waypoint x="-55.75" y="-16.25"/&amp;gt;
        &amp;lt;omgdi:waypoint x="-10.75" y="-16.25"/&amp;gt;
      &amp;lt;/bpmndi:BPMNEdge&amp;gt;
      &amp;lt;bpmndi:BPMNShape id="shape-76cd5615-01e4-4c1c-9941-047bc7e33454" bpmnElement="sid-6cb74d1d-927f-45d8-96de-00b82a06982a"&amp;gt;
        &amp;lt;omgdc:Bounds x="85.75" y="-31.25" width="30.0" height="30.0"/&amp;gt;
      &amp;lt;/bpmndi:BPMNShape&amp;gt;
      &amp;lt;bpmndi:BPMNEdge id="edge-a90c2312-f16d-4fa2-a4c4-c36b073e4642" bpmnElement="sid-5831021d-ad0a-4ed0-8794-42b787fc5bde"&amp;gt;
        &amp;lt;omgdi:waypoint x="42.25" y="-16.25"/&amp;gt;
        &amp;lt;omgdi:waypoint x="85.75" y="-16.250004"/&amp;gt;
      &amp;lt;/bpmndi:BPMNEdge&amp;gt;
    &amp;lt;/bpmndi:BPMNPlane&amp;gt;
  &amp;lt;/bpmndi:BPMNDiagram&amp;gt;
&amp;lt;/definitions&amp;gt;&lt;/PRE&gt;&lt;P&gt;And I don't see the log:&lt;EM&gt;&amp;nbsp;logger.log("Hello, World!");&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I already change this value in dev-log4j.xml:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;log4j.logger.org.alfresco.repo.jscript.ScriptLogger&lt;/SPAN&gt;=&lt;SPAN&gt;DEBUG&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I tried a lot of things but I don't know what to do.&lt;/P&gt;&lt;P&gt;Also I'm not sure where should I see that log. I have running docker containers after execute this command on the REPO:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;./run.sh build_start&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Feb 2024 20:08:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/logging-problems/m-p/40893#M17148</guid>
      <dc:creator>atoyos</dc:creator>
      <dc:date>2024-02-06T20:08:55Z</dc:date>
    </item>
  </channel>
</rss>

