Twitter4J

ability to plugin logging frameworks : SLF4J / commons-logging / log4j

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.1.1
  • Component/s: Core
  • Labels:
    None

Activity

Hide
Jörn Huxhorn added a comment -
Please, please, pretty please: don't do this!

java.util.logging is a real pain.

Take a look at my comments http://stackoverflow.com/questions/607863/do-you-find-java-util-logging-sufficient/958211#958211 and http://stackoverflow.com/questions/178836/should-new-projects-use-logback-instead-of-log4j/932983#932983 for some objective reasons.

Is this ticket about the
if(DEBUG)
in HttpClient, OAuth, Response and TwitterStream?

If that's the case I'd volunteer to change the code to slf4j.org for you - if you want.
Show
Jörn Huxhorn added a comment - Please, please, pretty please: don't do this! java.util.logging is a real pain. Take a look at my comments http://stackoverflow.com/questions/607863/do-you-find-java-util-logging-sufficient/958211#958211 and http://stackoverflow.com/questions/178836/should-new-projects-use-logback-instead-of-log4j/932983#932983 for some objective reasons. Is this ticket about the if(DEBUG) in HttpClient, OAuth, Response and TwitterStream? If that's the case I'd volunteer to change the code to slf4j.org for you - if you want.
Hide
Yusuke Yamamoto added a comment -
now Twitter4J tries to find logging frameworks in the following order:
1. SLF4J
2. commons-logging
3. Log4j

none of above is available, stdout will be used.
Show
Yusuke Yamamoto added a comment - now Twitter4J tries to find logging frameworks in the following order: 1. SLF4J 2. commons-logging 3. Log4j none of above is available, stdout will be used.

People

Vote (0)
Watch (0)

Dates

  • Due:
    Created:
    Updated:
    Resolved: