Disable “WARNING: Parameters: Invalid chunk ignored.” messages in Tomcat log

http://www.itonguard.com/20080605/disable-warning-parameters-invalid-chunk-ignored-messages-in-tomcat-log/
[quote]

To disable this message you need to modify logging properties file.
If you have logging.properties in your tomcat/conf folder then make changes there. Otherwise modify jre’s file.

Add to the end of /usr/local/java/jre/lib/logging.properties this line:

org.apache.tomcat.util.http.Parameters.level = SEVERE

Restart tomcat.

The reason for this message is some problem with url’s parameters format, like && in the begining of parameters etc. It is harmless, tomcat will process parameters anyway.

Another nice feature to reduce ammount of information in catalina.out file is to redirect system output from catalina.out to web application log. Add swallowOutput=”true” to the context like this:

# more conf/Catalina/localhost/ROOT.xml
<Context docBase=”/clients/client1″
privileged=”true” antiResourceLocking=”false” antiJARLocking=”false”
swallowOutput=”true”>
</Context>[/quote]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值