<?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 Re: Log4j.properties for Share on separate Tomcat in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308640#M261770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Kavi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the suggestion, but this file will be overwritten when the share.war is changed or redeployed. The same will happen in the Alfresco webapp with the file "$ALFRESCO-TOMCAT-HOME/webapps/alfresco/WEB-INF/classes/log4j.properties". Therefore Alfresco made it possible to define a separate custom log4j-file "$ALFRESCO-TOMCAT-HOME/shared/classes/alfresco/extension/alfresco-log4j.properties". However creating a similar file "$SHARE-TOMCAT-HOME/shared/classes/share/extension/share-log4j.properties" does not do the trick for Share.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2014 20:14:13 GMT</pubDate>
    <dc:creator>dynabix</dc:creator>
    <dc:date>2014-03-12T20:14:13Z</dc:date>
    <item>
      <title>Log4j.properties for Share on separate Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308637#M261767</link>
      <description>HiI am using Share on a separate Tomcat and want to adapt the location of the log-file for Share. For the Alfresco app itself I managed to do this by creating shared/classes/alfresco/extension/alfresco-log4j.properties under the Alfresco Tomcat directory and set te logfile location in there.I tried</description>
      <pubDate>Sun, 09 Mar 2014 20:12:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308637#M261767</guid>
      <dc:creator>dynabix</dc:creator>
      <dc:date>2014-03-09T20:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Log4j.properties for Share on separate Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308638#M261768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to change the default share log4j.properties located at $TOMCAT-HOME/webapps/share/WEB-INF/classes/log4j.properties)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 05:43:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308638#M261768</guid>
      <dc:creator>kavilash23</dc:creator>
      <dc:date>2014-03-12T05:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Log4j.properties for Share on separate Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308639#M261769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Go through the below link it might be useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://santoshpydisetti.wordpress.com/2014/03/12/alfresco-module-specific-logging/" rel="nofollow noopener noreferrer"&gt;http://santoshpydisetti.wordpress.com/2014/03/12/alfresco-module-specific-logging/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 06:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308639#M261769</guid>
      <dc:creator>santoshbaradwaj</dc:creator>
      <dc:date>2014-03-12T06:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Log4j.properties for Share on separate Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308640#M261770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Kavi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the suggestion, but this file will be overwritten when the share.war is changed or redeployed. The same will happen in the Alfresco webapp with the file "$ALFRESCO-TOMCAT-HOME/webapps/alfresco/WEB-INF/classes/log4j.properties". Therefore Alfresco made it possible to define a separate custom log4j-file "$ALFRESCO-TOMCAT-HOME/shared/classes/alfresco/extension/alfresco-log4j.properties". However creating a similar file "$SHARE-TOMCAT-HOME/shared/classes/share/extension/share-log4j.properties" does not do the trick for Share.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 20:14:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308640#M261770</guid>
      <dc:creator>dynabix</dc:creator>
      <dc:date>2014-03-12T20:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Log4j.properties for Share on separate Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308641#M261771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found this post which explains that what I want is not possible:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/overriding-share-log4j-development-08132012" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/overriding-share-log4j-development-08132012&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess that still is the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reactions anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 16:53:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308641#M261771</guid>
      <dc:creator>dynabix</dc:creator>
      <dc:date>2014-03-14T16:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Log4j.properties for Share on separate Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308642#M261772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was looking for a solution and found that by trying and I/O tracing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This can be done (I tested in 4.2.0.12, 5.1.0.5 and 5.1.1.0):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp tomcat/webapps/alfresco/WEB-INF/classes/share/extension/log4j.properties tomcat/shared/classes/alfresco/extension/share-log4j.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edit share-log4j.properties for value:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;log4j.appender.File.File=/logs/share.log #linux&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;log4j.appender.File.File=C:/logs/share.log #windows&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 14:59:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/log4j-properties-for-share-on-separate-tomcat/m-p/308642#M261772</guid>
      <dc:creator>julienguay</dc:creator>
      <dc:date>2016-08-02T14:59:58Z</dc:date>
    </item>
  </channel>
</rss>

