<?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 Customizing Share Logging in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/customizing-share-logging/m-p/55501#M20273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking to customize the logging from Share.&amp;nbsp; I've seen this question asked multiple times and what I've gathered is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Share can't be customized in the same way as alfresco&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) There's mention of a Log4jHirerarchyInit (&lt;A __default_attr="181303" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/181303-overriding-share-log4j-for-development" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;), but I don't see any examples of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone point to an example of #2 or at least describe the rough outline of what needs to be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 13:28:36 GMT</pubDate>
    <dc:creator>dshookowsky</dc:creator>
    <dc:date>2018-05-22T13:28:36Z</dc:date>
    <item>
      <title>Customizing Share Logging</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/customizing-share-logging/m-p/55501#M20273</link>
      <description>I'm looking to customize the logging from Share.&amp;nbsp; I've seen this question asked multiple times and what I've gathered is:1) Share can't be customized in the same way as alfresco&amp;nbsp;2) There's mention of a Log4jHirerarchyInit (&amp;nbsp;), but I don't see any examples of that.Could someone point to an example of</description>
      <pubDate>Tue, 22 May 2018 13:28:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/customizing-share-logging/m-p/55501#M20273</guid>
      <dc:creator>dshookowsky</dc:creator>
      <dc:date>2018-05-22T13:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing Share Logging</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/customizing-share-logging/m-p/55502#M20274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding 1) you are correct - this is the default and Alfresco is unlikely to&amp;nbsp;change that given this has already been long requested (&lt;A href="https://issues.alfresco.com/jira/browse/MNT-14972" rel="nofollow noopener noreferrer"&gt;MNT-14972&lt;/A&gt;) and Share is essentially EoL'ed and no significant investments will be made for that client.&lt;/P&gt;&lt;P&gt;What you read in that other thread (an answer from myself) is what would be technically required if you were to implement it yourself. Since then, I have actually done the very same thing I explained and implemented custom log4j.properties support in one of my Open Source modules (&lt;A href="https://github.com/Acosix/alfresco-utility#share-tier" rel="nofollow noopener noreferrer"&gt;alfresco-utility&lt;/A&gt;). If you don't want to include the full module, you could of course take inspiration from its source and only extract &lt;A href="https://github.com/Acosix/alfresco-utility/blob/master/share/src/main/resources/org/springframework/extensions/surf/acosix-utility-config-support-bootstrap-context.xml#L57" rel="nofollow noopener noreferrer"&gt;parts of it&lt;/A&gt;&amp;nbsp; &lt;A href="https://github.com/Acosix/alfresco-utility/blob/master/share/src/main/java/de/acosix/alfresco/utility/share/config/Log4jHierarchyInit.java" rel="nofollow noopener noreferrer"&gt;that you need&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Pesky typos...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 19:10:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/customizing-share-logging/m-p/55502#M20274</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-22T19:10:33Z</dc:date>
    </item>
  </channel>
</rss>

