added "blacklist" of attachment MIME types that won't be compressed; a couple
of other minor tweaks
This commit is contained in:
@@ -20,11 +20,13 @@
|
||||
<configuration>
|
||||
|
||||
<!-- Define the standard file appender. -->
|
||||
<appender name="STDLOG" class="org.apache.log4j.FileAppender">
|
||||
<appender name="STDLOG" class="org.apache.log4j.RollingFileAppender">
|
||||
<param name="File" value="/home/erbo/venice.log"/>
|
||||
<param name="Append" value="false"/>
|
||||
<param name="Append" value="true"/>
|
||||
<param name="MaxFileSize" value="10MB"/>
|
||||
<param name="MaxBackupIndex" value="5"/>
|
||||
<layout class="org.apache.log4j.PatternLayout">
|
||||
<param name="ConversionPattern" value="%d %-5p %c{2} %x - %m%n"/>
|
||||
<param name="ConversionPattern" value="%d %-5p %c{2} [%t %x] - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
@@ -36,7 +38,7 @@
|
||||
|
||||
<!-- Turn down the standard detail in some areas -->
|
||||
<category name="com.silverwrist.util.ServletMultipartHandler">
|
||||
<priority value="fatal"/>
|
||||
<priority value="debug"/>
|
||||
</category>
|
||||
<category name="com.silverwrist.venice.htmlcheck">
|
||||
<priority value="fatal"/>
|
||||
|
||||
@@ -72,6 +72,17 @@
|
||||
<file>/home/erbo/venice/WEB-INF/erbo.dict</file>
|
||||
</dictionary>
|
||||
|
||||
<!-- Settings for dealing with uploads -->
|
||||
<upload>
|
||||
<!-- Don't try to compress any file whose type falls in this list -->
|
||||
<no-compress>
|
||||
<type>image/gif</type>
|
||||
<type>image/jpg</type>
|
||||
<type>image/jpeg</type>
|
||||
</no-compress>
|
||||
|
||||
</upload>
|
||||
|
||||
<!-- This section holds "stock messages" with replaceable parameters that may
|
||||
be fed to emailed output. -->
|
||||
<messages>
|
||||
|
||||
Reference in New Issue
Block a user