<?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: Configure logfile location in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/configure-logfile-location/m-p/214808#M167938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found out, that the content of '*-log4j.properties' in 'alfresco/extension/' must look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;log4j.rootLogger=error, File&lt;BR /&gt;&lt;BR /&gt;log4j.appender.File=org.apache.log4j.DailyRollingFileAppender&lt;BR /&gt;log4j.appender.File.File=/var/log/alfresco/alfresco.log&lt;BR /&gt;log4j.appender.File.Append=true&lt;BR /&gt;log4j.appender.File.DatePattern='.'yyyy-MM-dd&lt;BR /&gt;log4j.appender.File.layout=org.apache.log4j.PatternLayout&lt;BR /&gt;log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n&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;Its not enough to configure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;log4j.appender.File.File=/var/log/alfresco/alfresco.log&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now most of log output is stored in '/var/log/alfresco/alfresco.log', expect the following lines…&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;06:08:07,607 INFO&amp;nbsp; [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from …&lt;BR /&gt;06:08:07,609 INFO&amp;nbsp; [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from …&lt;BR /&gt;06:08:07,610 INFO&amp;nbsp; [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from …&lt;BR /&gt;06:08:07,735 INFO&amp;nbsp; [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from …&lt;BR /&gt;06:08:22,747 WARN&amp;nbsp; [org.springframework.jmx.support.JmxUtils] Found more than one MBeanServer instance. Returning first from list.&lt;BR /&gt;06:08:23,179 WARN&amp;nbsp; [org.springframework.jmx.support.JmxUtils] Found more than one MBeanServer instance. Returning first from list.&lt;BR /&gt;06:09:31,427 INFO&amp;nbsp; [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;decla&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 May 2010 05:22:06 GMT</pubDate>
    <dc:creator>decla</dc:creator>
    <dc:date>2010-05-04T05:22:06Z</dc:date>
    <item>
      <title>Configure logfile location</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configure-logfile-location/m-p/214807#M167937</link>
      <description>Hi,Is it possible to change the location of alfresco.log (maybe to '/var/log/alfresco.log') without modifying log4j.properties in alfresco.war file? I read something about a dev-log4j.properties file, which should be put under '$TOMCAT_HOME/shared/classes/alfresco/extension/'.As we are using jboss i</description>
      <pubDate>Tue, 27 Apr 2010 11:15:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configure-logfile-location/m-p/214807#M167937</guid>
      <dc:creator>decla</dc:creator>
      <dc:date>2010-04-27T11:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Configure logfile location</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configure-logfile-location/m-p/214808#M167938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found out, that the content of '*-log4j.properties' in 'alfresco/extension/' must look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;log4j.rootLogger=error, File&lt;BR /&gt;&lt;BR /&gt;log4j.appender.File=org.apache.log4j.DailyRollingFileAppender&lt;BR /&gt;log4j.appender.File.File=/var/log/alfresco/alfresco.log&lt;BR /&gt;log4j.appender.File.Append=true&lt;BR /&gt;log4j.appender.File.DatePattern='.'yyyy-MM-dd&lt;BR /&gt;log4j.appender.File.layout=org.apache.log4j.PatternLayout&lt;BR /&gt;log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n&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;Its not enough to configure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;log4j.appender.File.File=/var/log/alfresco/alfresco.log&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now most of log output is stored in '/var/log/alfresco/alfresco.log', expect the following lines…&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;06:08:07,607 INFO&amp;nbsp; [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from …&lt;BR /&gt;06:08:07,609 INFO&amp;nbsp; [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from …&lt;BR /&gt;06:08:07,610 INFO&amp;nbsp; [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from …&lt;BR /&gt;06:08:07,735 INFO&amp;nbsp; [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from …&lt;BR /&gt;06:08:22,747 WARN&amp;nbsp; [org.springframework.jmx.support.JmxUtils] Found more than one MBeanServer instance. Returning first from list.&lt;BR /&gt;06:08:23,179 WARN&amp;nbsp; [org.springframework.jmx.support.JmxUtils] Found more than one MBeanServer instance. Returning first from list.&lt;BR /&gt;06:09:31,427 INFO&amp;nbsp; [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;decla&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 05:22:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configure-logfile-location/m-p/214808#M167938</guid>
      <dc:creator>decla</dc:creator>
      <dc:date>2010-05-04T05:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Configure logfile location</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/configure-logfile-location/m-p/214809#M167939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found that out too.&amp;nbsp; I would prefer to just override the file location value and have it get the rest from whatever is in the war file.&amp;nbsp; Since it doesn't, I copy the whole file out of ../webapps/alfresco/WEB-INF/classes/log4j.properties and copy it to the ../alfresco/extension/custom-log4j.properties and then change the file location property in that file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a pain in the neck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 16:57:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/configure-logfile-location/m-p/214809#M167939</guid>
      <dc:creator>brazen</dc:creator>
      <dc:date>2010-08-16T16:57:38Z</dc:date>
    </item>
  </channel>
</rss>

