Posted By

rowntreerob on 01/25/12


java log eclipse HttpClient

Versions (?)

java commons logging - httpclient - simpleLog

 / Published in: Bash


For impl of 'simpleLog', in eclipse, the default instructions did not work for me , providing LEVEL_ALL logs until i added one additional prop not mentioned in the link

  1. -Dorg.apache.commons.logging.Log="org.apache.commons.logging.impl.SimpleLog"
  2. -Dorg.apache.commons.logging.simplelog.showdatetime="true"
  3. -Dorg.apache.commons.logging.simplelog.defaultlog="debug"
  5. -- key stmt above for run config sysProps is for the 'simplelog.defaultlog'
  6. when that was added, level_all came thru to stderr in eclipse

Report this snippet  

You need to login to post a comment.