java commons logging - httpclient - simpleLog


/ Published in: Bash
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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"
  4.  
  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

URL: http://hc.apache.org/httpcomponents-client-ga/logging.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.