Igor,
As already explained to you, as of Jetty-5, Jetty uses the Jakarta
Commons Logging as the common logging facade, so therefore, for
information on how to configure the log implementation of your choice,
you need to consult a) Jakarta Commons logging doco and b) the log impl
of your choice doco.
If you are instead using the Jetty-4 series, Jetty uses it's own logging
mechanism, information on which is available in the README.TXT file in
the distro.
Jan
Igor Smirnov wrote:
> I am copying my message since I got no reply to it. Jetty developers, if you
> do not post the documentation concerning certain areas of the project, and
> still wish that people use your product, we expect from you to be more
> helpful.
> Documentation in the code does not help enough and in the understandable way
>
> 1. I need to configure Monolog to work with Jetty. (there exists a
> monolog.jar so, I should be able to use it).
> 2. Do I use it through JCL or directly calling a monolog class in some
> property file or VM?
> 2. How do I do it (pass a parameter to VM, config file etc.??)
> I need a full step-by-step explanation, faq, doc. whatever.
>
> Thank you,
> Igor Smirnov
>
> ----- Original Message -----
> From: "Igor Smirnov" <igor@...>
> To: <jetty-support@...>
> Sent: Monday, May 17, 2004 6:58 PM
> Subject: Re: [Jetty-support] Jetty 1st time
>
>
>
>>So if I understand right, for JCL to work with jetty I'd need to configure
>>commons-logging.properties somewhere in the directory tree. Where would
>>that be? I am familiar with JCL, worked with Tomcate using it.
>>Thanks,
>>Igor
>>
>>Jan Bartel wrote:
>>
>>
>>>Hi Igor,
>>>
>>>There are 2 different types of logs in Jetty:
>>>+ the standard HTTP access log
>>>+ general debug/info log (Jetty uses the Jakarta Commons Logging
>>>mechanism)
>>>
>>>The first is configured in your jetty xml config file (see
>>>$JETTY_HOME/etc/demo.xml for an example).
>>>
>>>For the second, you need to use the facilities of the Commons Logging
>>>to select which type of log implementation you'd like to use, such as
>>>Log4J, JDK1.4 logging etc etc. The Commons Logging pages have more
>>>info on this:
>>>
>>> http://jakarta.apache.org/commons/logging/guide.html
>>>
>>>
>>>cheers,
>>>Jan
>>>
>>>
>>>Igor Smirnov wrote:
>>>
>>>
>>>>Hi everyone,
>>>>
>>>>I have just installed Jetty 4.2.18, unzipped it, better to say. 1st
>>>>time ever to use Jetty so I'm very new to the product.
>>>>I am interested in how Jetty does logging. I see there were changes
>>>>recently and common logging was deployed in this version. I see there
>>>>is support for both log4j and monolog.
>>>>Sadly, I found no docummentation describing the logging process.
>>>>Is there anyone here who could explain me where to configure the
>>>>logger I would like to use with jetty, where the output goes.
>>>>Right now I am staring Jetty with java -jar start.jar. Should i be
>>>>using a different command to configure logging?
>>>>
>>>>Thanks in advance!
>>>>Igor
>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.Net email is sponsored by: SourceForge.net Broadband
>>>Sign-up now for SourceForge Broadband and get the fastest
>>>6.0/768 connection for only $19.95/mo for the first 3 months!
>>>http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
>>>_______________________________________________
>>>Jetty-support mailing list
>>>Jetty-support@...
>>>https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: SourceForge.net Broadband
>>Sign-up now for SourceForge Broadband and get the fastest
>>6.0/768 connection for only $19.95/mo for the first 3 months!
>>http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
>>_______________________________________________
>>Jetty-support mailing list
>>Jetty-support@...
>>https://lists.sourceforge.net/lists/listinfo/jetty-support
>>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> Jetty-support mailing list
> Jetty-support@...
> https://lists.sourceforge.net/lists/listinfo/jetty-support
|