简体   繁体   中英

Avoid Hessian to log into catalina.out

i have a problem using Caucho Hessian. I get a lot of messages into catalina.out (tomcat) like this:

'Dec 20, 2012 8:33:08 PM com.caucho.hessian.io.SerializerFactory getDeserializer
WARNING: Hessian/Burlap: '...blehClass' is an unknown class in WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@f79f36b'

This is a problem because of the space in Gb of catalina... I need to take this log with slf4j (i will use an upd appender to send this log to other server)

Any help?

Thank you!

As far as I can see on the source code , Caucho Hessian uses java.util.logging framework.

import java.util.logging.Level;
import java.util.logging.Logger;

So you probably want to configure the JUL bridge as explained in the official documentation .

What helped me to turn this WARNING off is to add one line at the end of the ${tomcat_home}/conf/loggin.properties:

com.caucho.hessian.io.SerializerFactory.level = SEVERE

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM