`
marlgl
  • 浏览: 73514 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

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

    博客分类:
  • J
阅读更多
http://www.itonguard.com/20080605/disable-warning-parameters-invalid-chunk-ignored-messages-in-tomcat-log/
引用


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:

[root@u tomcat]# more conf/Catalina/localhost/ROOT.xml
<Context docBase=”/clients/client1″
privileged=”true” antiResourceLocking=”false” antiJARLocking=”false”
swallowOutput=”true”>
</Context>


分享到:
评论

相关推荐

    EJTAG Linux32/64和Windows版本

    Unlock Bypass command & disable polling /st5 ............... Use Speedtouch ST5xx flash routines instead of WRT routines /reboot............. sets the process and reboots /fc:XX = Optional ...

    ethminer-0.16.0.dev3

    The default parameters are fine in most scenario's (CUDA). For OpenCL it varies a bit more. Just play around with the numbers and use powers of 2. GPU's like powers of 2. 6. What does the `--cuda-...

    loadrunner监控linux的相关配置

    接下来,需要在 `/etc/xinetd.d` 目录下编辑 `rlogin`, `rsh`, 和 `rexec` 这三个文件,将 `disable=yes` 改为 `disable=no`,并确保 `default: off` 更改为 `default: on`。这样设置后,xinetd 服务会在启动时自动...

    EurekaLog_7.5.0.0_Enterprise

    4)....Fixed: Wrong passing of Boolean parameters in JSON (affects JIRA) 5)....Fixed: Wrong sorting of BugID, Count and DateTime columns in Viewer 6)....Fixed: Empty "Count" field/column is now ...

    Android 屏幕唤醒 + 屏幕解锁 + 开机服务监听(android.intent.action.BOOT-COMPLET)

    name="android.permission.WAKE_LOCK"/&gt;&lt;uses-permission android:name="android.permission.DISABLE_KEYGUARD"/&gt;//如需启动应用则添加&lt;uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES...

    LCD.rar_LCD PWM_ht46r22_io lcd_mcu驱动LCD_source

    IIC: DISABLE PFD: DISABLE PWM: DISABLE WDT: ENABLE CLRWDT: ONE WDT CLOCK SOURCE: T1 WDT TIME OUT SELECT: WDT CLOCK SOURCE/32768 LVR: DISABLE OSC: CRYSTAL SYSVOLT: 3.0V SYSFRAG: 4000KHZ ...

    功能强大的APi

    disable.bas:去掉窗体上关闭窗口的“X” IOMODEMPORT.bas:关于Modem的一些声明(未翻译) ISADMIN.bas:关于NT的一个函数(未翻译) modDialUp:关于拨号连接方面的操作 MFreeSpace.bas:判断剩余空间 ...

    在ubuntu 16.04 基于devstack 安装openstack ocata版本

    disable_service tempest CEILOMETER_BACKEND=mongodb enable_plugin ceilometer http://git.trystack.cn/openstack/ceilometer stable/ocata enable_plugin aodh http://git ``` #### 七、执行DevStack部署 ...

    SpriteKit 自定义图片按钮

    ButtonSpriteNode *_fight = [[ButtonSpriteNode alloc] initWithImageName:@"fire_btn1.png" selected:@"fire_btn2.png" disable:@"fire_btn3.png"]; _fight.position = CGPointMake(self.frame.size.width/2, ...

    adb命令详解--测试工程师必备笔记(建议收藏)

    9. 开启/关闭 WiFi:adb shell svc wifi enable/disable 刷机相关命令 1. 重启到 Recovery 模式:adb reboot recovery 2. 从 Recovery 重启到 Android:adb reboot 3. 重启到 Fastboot 模式:adb reboot ...

    问题解决:AttributeError: module ‘paddle.fluid’ has no attribute ‘EndStepEvent’

    在使用PaddlePaddle进行深度学习开发时,可能会遇到一个常见的错误:`AttributeError: module 'paddle.fluid' has no attribute 'EndStepEvent'`。这个问题通常发生在尝试使用PaddlePaddle的旧版本API或者在不正确的...

    ubuntu上在androidstudio中启动emulator闪退的解决方法

    `emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.` 解决方法 从错误提示中,我们可以看到有两种解决方法: 1. 设置 `-gpu swiftshader` 2. 设置 `-gpu off` 在运行...

    idea 双击没反应 OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0

    OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. Error occurred during initialization of VM Initial heap size ...

    Termius_6.1.1_(6.1.1.212)_mac版_pojie.dmg

    全平台的远程终端——Termius。 Termius不仅涵盖了Windows、Linux、OSX,还变态得...sudo spctl --master-disable 或者: 软件提示打不开解决方案2: sudo xattr -d com.apple.quarantine /Applications/软件名.app

    djangovue旅游推荐系统.zip

    # mall-admin ...[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)]...

    disable-enable.txt

    启用约束: enable( validate) :启用约束,创建索引,对已有及新加入的数据执行约束. enable novalidate :启用约束,创建索引,仅对新加入的数据强制执行约束,而不管表中的现有数据.

    Keil.STM32F7xx_DFP.2.14.0.pack(STM32F7xx系列官方固件库驱动库板级支持包for Keil MDK 5)直接运行即可

    VIO: LCD support can be disabled with VIO_LCD_DISABLE define. Board Examples: Updated CubeMX examples: Migrated CubeMX projects to V6.0.1. Updated Platform example: Reduced Idle and Timer thread ...

    GDB调试命令大全

    2. **disable**: 禁用某个断点或所有断点。 3. **init-if-undefined**: 如果未定义则初始化环境。 4. **python**: 执行Python脚本,GDB支持Python扩展。 5. **target**: 指定调试目标。 #### 四、断点管理 1. **...

    Centos7虚拟机配置代理

    - 禁止防火墙开机启动:`systemctl disable firewalld.service` - 检查防火墙状态:`firewall-cmd --state` 7. **安装telnet服务**: - 安装telnet服务器:`yum -y install telnet-server.x86_64` - 安装telnet...

    php.ini-development

    To disable this feature set this option to empty value ;user_ini.filename = ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes) ;user_ini.cache_ttl = ...

Global site tag (gtag.js) - Google Analytics