[logback-dev] TwitterAppender, some problems we need to be aware of

Joern Huxhorn jhuxhorn at googlemail.com
Thu Aug 6 17:42:02 CEST 2009

Hi all.

Twitter is more or less down for hours now. This sucks but also shows  
a problem we need to be aware of while implementing the appender:

Begin forwarded message:

> From: "Rob O'Brien" <rob at zepoid.com>
> Date: 6. August 2009 17:13:31 MESZ
> To: <twitter4j at googlegroups.com>
> Subject: [Twitter4J] Request Timeouts
> Reply-To: twitter4j at googlegroups.com
> I’m brand new to the group, so forgive me if this topic has been  
> covered (I did a quick search and found nothing).
> With Twitter being down this morning, requests to Twitter through  
> Twitter4J seem to hang indefinitely. Even with the use of  
> setHttpConnectionTimeout(), requests took longer than the value I  
> set (which was 5000, or 5 seconds – requests still took up to  30  
> seconds)
> Can someone verify that the timeout enforcement works and that this  
> is the correct setting to prevent such hangs while Twitter is  
> unavailable?
> Rob O'Brien
> Web Application Developer & Consultant
> rob at zepoid.com

In addition, I've found another problem myself for which I filed a bug  
report: http://yusuke.homeip.net/jira/browse/TFJ-193
Currently, Twitter4J isn't sending status updates in UTF-8 - which it  
should. I've also described a workaround in the JIRA ticket.

Just FYI.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-dev/attachments/20090806/c6ef40bd/attachment.htm>

More information about the logback-dev mailing list