Reducing Log File Size in Alfresco
Newer versions of Alfresco will create certain log files by default, including a daily log file that is regularly larger than 100+ MB: the <CATALINA_HOME>/logs/localhost_access_logYYYY-MM-DD.txt log file.
You can prevent this log file from being created by editing the <CATALINA_HOME>/conf/server.xml file and commenting out the following section:
Once this section is commented out, restart Alfresco, and the localhost_access_log files will no longer be created.
You can prevent this log file from being created by editing the <CATALINA_HOME>/conf/server.xml file and commenting out the following section:
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
Once this section is commented out, restart Alfresco, and the localhost_access_log files will no longer be created.
0 Response to "Reducing Log File Size in Alfresco"
Posting Komentar