Hi Sumit,

The AccessLog is for logging client accesses to your application. It can be
formatted so that each access is saved as one line. The "accessLoggerFormat"
is specifying a format for each call (Request/Response). By default, the
format follows the Microsoft IIS 6 logging format able to be processes by
web log analysis software like Analog. You can customize this format by
setting the mentionned property, see StringTemplate class and CallModel for
details.

The ContextLog is for logging internal application messages like
errors/warnings/info/debug traces. The purpose is different but using the
same JDK's Logging mechanism. You can also change the default message format
(XML for example), but by using the standard JDK Logger's configuration
options.

Best regards,
Jerome

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Sumit Lohia
> Envoyé : samedi 4 novembre 2006 01:53
> À : [email protected]
> Objet : Re: New snapshot of beta 20
> 
> Jerome Louvel <contact <at> noelios.com> writes:
> > 
> > 
> > Hi all,
> > 
> > An intermediary snapshot is available: 
> > http://www.restlet.org/downloads/current.zip 
> > 
> > Best regards,
> > Jerome Louvel
> > 
> > ---
> > 
> >
> > [API breaking changes]
> >  - Moved Atom, FreeMarker and FileUpload extensions to
> > org.restlet.ext.atom/freemarker/fileupload packages.
> >  - Moved implementation-independent classes from NRE into 
> org.restlet
> > packages. 
> >  - Renamed LogService."loggerName" and "format" properties 
> to add the
> > "access" prefix. Added "contextLoggerName" property.
> 
> Hi Jerome,
> 
> Just curious... Why not also have a contextLoggerFormat?
> 
> Thanks.
> 
> Sumit

Reply via email to