<?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 What is the default location of the alfresco.log file in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/what-is-the-default-location-of-the-alfresco-log-file/m-p/271941#M225071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My installation is returning a couple of errors in the catalina.out file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;log4j:ERROR setFile(null,true) call failed.&lt;BR /&gt;java.io.FileNotFoundException: alfresco.log (Permission denied)&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Indicating that the alfresco.log file is either trying to be placed in a directory that doesn't have permission to write files, or that the directory doesn't exist.&amp;nbsp; I've confirmed that the log(s) directory under the $CATALINA_HOME has tomcat ownership, but the file does not appear to be using that directory.&amp;nbsp; We're resorting to modifying the log4j.properties within the war files which is obviously not recommended, but cannot find any other alternative.&amp;nbsp; Also, modifying tomcat's log4j.properties file under $CATALINA_HOME/conf/log4j.properties does not seem to overwrite what was set in the war file's configurations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're running our installation via the .war file method on RHEL6.&amp;nbsp; $CATALINA_HOME defaults to /usr/share/tomcat6 with a bunch of symlinks for every sub-directory within.&amp;nbsp; /usr/share/tomca6/logs points to /var/log/tomcat6, which works fine for everything except alfresco.log.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2011 15:43:02 GMT</pubDate>
    <dc:creator>smiller</dc:creator>
    <dc:date>2011-09-13T15:43:02Z</dc:date>
    <item>
      <title>What is the default location of the alfresco.log file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-is-the-default-location-of-the-alfresco-log-file/m-p/271941#M225071</link>
      <description>My installation is returning a couple of errors in the catalina.out file:log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: alfresco.log (Permission denied)‍‍‍Indicating that the alfresco.log file is either trying to be placed in a directory that doesn't have permission to wri</description>
      <pubDate>Tue, 13 Sep 2011 15:43:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-is-the-default-location-of-the-alfresco-log-file/m-p/271941#M225071</guid>
      <dc:creator>smiller</dc:creator>
      <dc:date>2011-09-13T15:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is the default location of the alfresco.log file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/what-is-the-default-location-of-the-alfresco-log-file/m-p/271942#M225072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This seems to be a known issue for most of a year now that will not be fixed. &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/jira/browse/ALF-5551" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/jira/browse/ALF-5551&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Workaround:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# sudo mkdir /var/log/alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# sudo nano /opt/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– change&amp;nbsp; "log4j.appender.File.File=alfresco.log"&amp;nbsp; to "log4j.appender.File.File=/var/log/alfresco/alfresco.log"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Restart Alfresco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 21:08:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/what-is-the-default-location-of-the-alfresco-log-file/m-p/271942#M225072</guid>
      <dc:creator>quietas</dc:creator>
      <dc:date>2011-09-28T21:08:46Z</dc:date>
    </item>
  </channel>
</rss>

