Hi, 

You can setup the endpoint property inside of the restConfiguration
<restConfiguration component="jetty" port="8080" host="0.0.0.0">
 <endpointProperty>
   <restProperty key=“filters” value=“ref">
  </endpointProperty>
</restConfiguration>
--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On February 13, 2015 at 8:02:35 AM, Minh Tran (darth.minhs...@gmail.com) wrote:
> Hi
>  
> I'm using the RestDSL in 2.14.1 and I want to enable access logs while using 
> jetty.
>  
> I've configured the rest to point to jetty like this
>  
>  
> I would like to use Logback's TeeFilter servlet filter to do actual logging 
> for me but  
> I cannot seem to find out a way to register the filter against the 
> JettyHttpComponent.  
> The setFilters method on it is private. It seems to be only accessible when 
> used in the  
> uri like There's no place to do this while using  
> the RestDSL?
>  
> Does anyone have any suggestions? Thanks.

Reply via email to