<?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 How to log users' operations in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-log-users-operations/m-p/11584#M4597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Firstly , I review an example &lt;/SPAN&gt;&lt;STRONG&gt;org.alfresco.sample.loggerAction.LoggerActionExecuter&lt;/STRONG&gt;&lt;SPAN&gt;, but after adding them to alfresco, it turns:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logger-action' defined in file [C:\tomcat\webapps\cms\WEB-INF\classes\alfresco\extension\logger-action-context.xml]: Initialization of bean failed; nested exception is java.lang.AbstractMethodError: null&lt;BR /&gt;java.lang.AbstractMethodError&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.action.ParameterizedItemAbstractBase.getParameterDefintions(ParameterizedItemAbstractBase.java:76)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.getActionDefinition(ActionExecuterAbstractBase.java:77)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.action.ActionServiceImpl.registerActionExecuter(ActionServiceImpl.java:497)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.init(ActionExecuterAbstractBase.java:49)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to log the msg ,including the user login time, content he adds or deletes…., into database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some has done this? would you tell me what else needs to do after modifying the LoggerActionExecuter.java?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thx in advance…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 May 2006 07:32:49 GMT</pubDate>
    <dc:creator>leon</dc:creator>
    <dc:date>2006-05-29T07:32:49Z</dc:date>
    <item>
      <title>How to log users' operations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-log-users-operations/m-p/11584#M4597</link>
      <description>Firstly , I review an example org.alfresco.sample.loggerAction.LoggerActionExecuter, but after adding them to alfresco, it turns&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logger-action' defined in file [C:\tomcat\webapps\cms\WEB-INF\classes\alfresco\exte</description>
      <pubDate>Mon, 29 May 2006 07:32:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-log-users-operations/m-p/11584#M4597</guid>
      <dc:creator>leon</dc:creator>
      <dc:date>2006-05-29T07:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to log users' operations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-log-users-operations/m-p/11585#M4598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The logger action can only be triggered by an appropriate rule.&amp;nbsp; Currently in the UI, this can be either of &lt;/SPAN&gt;&lt;STRONG&gt;Inbound&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;Outbound&lt;/STRONG&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;STRONG&gt;Updated&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; This is an example of how to write an action and probably not really what you are looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I presume that you want to get some low-level logging of certain service calls.&amp;nbsp; In that case, you might consider plugging in an interceptor in the same way that the &lt;/SPAN&gt;&lt;STRONG&gt;public-services-context.xml&lt;/STRONG&gt;&lt;SPAN&gt; beans have interceptors to handle authentication, exception translation and, ofcourse, transactions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your interceptor can be wired in using a bean override of the appropriate services (better) or programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Examples of a similar interceptors are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.alfresco.util.debug.MethodCallLogAdvice&lt;BR /&gt;org.alfresco.util.perf.PerformanceMonitorAdvice&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What your interceptors do when they have the execution is entirely up to you, provided that you are careful not to create infinite loops, etc.&amp;nbsp; The interceptor implementation may be a &lt;/SPAN&gt;&lt;STRONG&gt;HibernateDaoSupport&lt;/STRONG&gt;&lt;SPAN&gt; extension, even.&amp;nbsp; There really is no limitation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 12:41:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-log-users-operations/m-p/11585#M4598</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2006-06-13T12:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to log users' operations</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-log-users-operations/m-p/11586#M4599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same Exception after adding the example SDK TaggingSample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what Can I do to initialize the context properly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use Alfresco 1.2 on Kubuntu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 14:07:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-log-users-operations/m-p/11586#M4599</guid>
      <dc:creator>edifabio08</dc:creator>
      <dc:date>2006-08-10T14:07:17Z</dc:date>
    </item>
  </channel>
</rss>

