You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by mono <mo...@hotmail.com> on 2013/06/15 07:53:23 UTC
Servicemix 4.3.0 - Jetty NCAS Logging configuration
Is there a way to configure jetty access logs for servicemix 4.3.0? I
noticed that more recent versions of servicemix have a /etc/jetty.xml but
4.3.0 doesn't and i'm not able to upgrade at the moment.
i tried adding log4j.logger.org.eclipse.jetty.util.log=DEBUG to
org.ops4j.pax.logging.cfg but it produces about 6 lines per request and it
is too much data. I just need to know URLs being accessed in jetty and HTTP
response codes.
Any advice is greatly appreciated!
--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-0-Jetty-NCAS-Logging-configuration-tp5717012.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Servicemix 4.3.0 - Jetty NCAS Logging configuration
Posted by Freeman Fang <fr...@gmail.com>.
Yeah, using pax-web it's possible, but the jetty NCSARequestLog configuration get introduced in pax-web since 1.1.0[1], I don't think SMX 4.3.0 use that version, so please use more recent SMX(4.5.x) which have this feature
[1]https://ops4j1.jira.com/browse/PAXWEB-269
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋
On 2013-6-15, at 下午11:40, Achim Nierbeck wrote:
> As it's using Pax-Web it is possible, you just need to configure it via the
> Pax-Web properties. The full list of properties can be found at the Pax-Web
> wiki.
>
> Regards, Achim
>
> sent from mobile device
> Am 15.06.2013 07:54 schrieb "mono" <mo...@hotmail.com>:
>
>> Is there a way to configure jetty access logs for servicemix 4.3.0? I
>> noticed that more recent versions of servicemix have a /etc/jetty.xml but
>> 4.3.0 doesn't and i'm not able to upgrade at the moment.
>>
>> i tried adding log4j.logger.org.eclipse.jetty.util.log=DEBUG to
>> org.ops4j.pax.logging.cfg but it produces about 6 lines per request and it
>> is too much data. I just need to know URLs being accessed in jetty and
>> HTTP
>> response codes.
>>
>> Any advice is greatly appreciated!
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://servicemix.396122.n5.nabble.com/Servicemix-4-3-0-Jetty-NCAS-Logging-configuration-tp5717012.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
Re: Servicemix 4.3.0 - Jetty NCAS Logging configuration
Posted by Achim Nierbeck <bc...@googlemail.com>.
As it's using Pax-Web it is possible, you just need to configure it via the
Pax-Web properties. The full list of properties can be found at the Pax-Web
wiki.
Regards, Achim
sent from mobile device
Am 15.06.2013 07:54 schrieb "mono" <mo...@hotmail.com>:
> Is there a way to configure jetty access logs for servicemix 4.3.0? I
> noticed that more recent versions of servicemix have a /etc/jetty.xml but
> 4.3.0 doesn't and i'm not able to upgrade at the moment.
>
> i tried adding log4j.logger.org.eclipse.jetty.util.log=DEBUG to
> org.ops4j.pax.logging.cfg but it produces about 6 lines per request and it
> is too much data. I just need to know URLs being accessed in jetty and
> HTTP
> response codes.
>
> Any advice is greatly appreciated!
>
>
>
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/Servicemix-4-3-0-Jetty-NCAS-Logging-configuration-tp5717012.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>