{"id":422,"date":"2010-09-27T13:51:34","date_gmt":"2010-09-27T08:51:34","guid":{"rendered":"http:\/\/linuxndme.com\/?p=66"},"modified":"2011-06-22T12:31:19","modified_gmt":"2011-06-22T12:31:19","slug":"audit-trail-configuration-on-alfresco-3-3","status":"publish","type":"post","link":"https:\/\/blog.nixwind.com\/?p=422","title":{"rendered":"Audit trail configuration on Alfresco 3.3"},"content":{"rendered":"<p><strong>1)Overview<\/strong><br \/>\nAudit trail configuration for alfresco 3.3 with old audit mechanism<\/p>\n<p><strong>2) Requirements<\/strong><br \/>\nServer deployed with alfresco ( Installation method :: Jumpbox)<\/p>\n<p><strong>3) Objective<\/strong><\/p>\n<ul>\n<li> Enable Audit trail<\/li>\n<li> Enable Logging<\/li>\n<\/ul>\n<p><strong>4) Configuration done<\/strong><\/p>\n<p><strong>Step 1<\/strong><br \/>\nOn main property file turn audit on. Add the below two lines on alfresco-global.properties<\/p>\n<p><strong><span style=\"color: #3ea99f;\">root@serv:~# <\/span> vi \/opt\/alfresco\/tomcat\/shared\/classes\/alfresco-global.properties <\/strong><\/p>\n<p><em>audit.enabled=true<br \/>\naudit.useNewConfig=false<\/em> # to use disable new config<\/p>\n<p><strong>Step 2<\/strong><br \/>\nTurn all false values in file auditConfig.xml to true<br \/>\n\/opt\/alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/auditConfig.xml<\/p>\n<p><strong><span style=\"color: #3ea99f;\">root@serv:~# <\/span>sed -i &#8220;s\/false\/true\/g&#8221; &#8212; \/opt\/alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/auditConfig.xml<\/strong><\/p>\n<p><strong>Step 3<\/strong><br \/>\nYou can turn logging level to debug by adding the following directives in the file log4j.properties<\/p>\n<p><strong><span style=\"color: #3ea99f;\">root@serv:~# <\/span> vi \/opt\/alfresco\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/log4j.properties <\/strong><\/p>\n<p># Audit debugging<br \/>\n<em>log4j.logger.org.alfresco.repo.audit=DEBUG<br \/>\nlog4j.logger.org.alfresco.repo.audit.model=DEBUG<\/em><\/p>\n<p><strong>Step 4<\/strong><br \/>\nStop\/Start alfresco<br \/>\n<strong><span style=\"color: #3ea99f;\">root@home:~# <\/span>\/etc\/init.d\/alfresco stop<br \/>\n<span style=\"color: #3ea99f;\">root@home:~# <\/span>\/etc\/init.d\/alfresco start<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1)Overview Audit trail configuration for alfresco 3.3 with old audit mechanism 2) Requirements Server deployed with alfresco ( Installation method :: Jumpbox) 3) Objective Enable Audit trail Enable Logging 4) Configuration done Step 1 On main property file turn audit on. Add the below two lines on alfresco-global.properties root@serv:~# vi \/opt\/alfresco\/tomcat\/shared\/classes\/alfresco-global.properties audit.enabled=true audit.useNewConfig=false # to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[41],"tags":[99],"_links":{"self":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/422"}],"collection":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=422"}],"version-history":[{"count":1,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/422\/revisions"}],"predecessor-version":[{"id":503,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/422\/revisions\/503"}],"wp:attachment":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}