Re: Hiding Restlet LogFilter#afterHandler log

2012-10-25 Thread Thierry Boileau
Hello William,


Actually this is due to the java.util.logging.SimpleFormatter used by the
JDK by default which not only logs the LogRecord generated by any call to
Logger#fine, Logger#severe, etc, but also an additional line with the date,
source method, etc.
You can set up the a logHandler and specify a simpler Formatter, for
example the org.restlet.engine.log.AccessLogFormatter.
You can have a look at the standard
documentationhttp://docs.oracle.com/javase/1.5.0/docs/guide/logging/index.htmlor
here http://wiki.restlet.org/docs_2.0/13-restlet/101-restlet.html.


Best regards,
Thierry Boileau


I've configured logging.properties to only show WARNING level logs for
 Restlet and while that generally seems to work, I always get log entry for
 every request for the LogFilter istelf. Eg

 2012-10-21 15:10:47.638 org.restlet.engine.log.LogFilter afterHandle:
 2012-10-2105:10:47101.165.32.41

 Here is my logging.properties
 .level=INFO
 org.restlet.level=WARNING
 org.restlet.engine.log.LogFilter.level=WARNING


 Any ideas of why this is occuring and how to gte rid of it?

 William

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3022299


--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3023526

Re: Restlet client hanging when connecting to Restlet server (SunOS)

2012-10-25 Thread Thierry Boileau
Hello Noam,

I'm currently using the net client connector for customer in production
environment. Using the HttpClient extension is fine also.

Best regards,
Thierry Boileau


Thanks for your reply Jerome!

 It is working fine on SunOS with the org.restlet.ext.net connector!

 I will also test with the httpclient connector.  Is this connector
 recommended for production?

 Thanks again!

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3021252


--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3023527