java - How can I turn off extra logging? -


i have java service uses spring , cxf. code previous developer , i'm providing maintenance, i'm seeing in logs

 --------------------------------------  apr 16, 2013 1:44:11 pm org.apache.cxf.interceptor.abstractlogginginterceptor log  info: inbound message  ----------------------------  id: 33  address: /myapplication/endpoint  encoding: utf-8  http-method: post  content-type: application/x-www-form-urlencoded  headers: {content-type=[application/x-www-form-urlencoded], connection=[close], host=     [localhost:8080], content-length=[11504], user-agent=[apache-httpclient/4.2.3 (java 1.5)], content-type=[application/x-www-form-urlencoded]}  payload: { "events" : [ { event }, { event }, ... ]  } 

and have many events, , log becoming unmanageable. there way can turn off logging? these log calls not created inside app, created kind of interceptor can't find. did find in cxf-context.xml config file:

<cxf:bus>     <cxf:features>          <cxf:logging />      </cxf:features>  </cxf:bus>  

but logging still appears after commented these lines out of config file.

please help. thanks

since application uses log4j, turn 'org.apache.cxf' logger level error. add line log4j.properties:

log4j.logger.org.apache.cxf=error 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -