On Wed, 19 Dec 2001, Gerhard Froehlich wrote: > Giacomo, > one last question. How can I redirect all error messages to > a special error log.
With a priority-filter (see logkit.xconf). But there is no such thing like "redirect". The root category uses the priority-filter target to have all error messages in the servlet log ALSO. Giacomo > > Is that something to setup in the logkit.xconf?? > > Gerhard > > "Hedonist for hire... no job too easy!" > > > >-----Original Message----- > >From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]] > >Sent: Wednesday, December 19, 2001 4:15 PM > >To: [EMAIL PROTECTED] > >Subject: RE: try to improve logging > > > > > >Giacomo, > >hehe I know you would answer... > > > >>-----Original Message----- > >>From: giacomo [mailto:[EMAIL PROTECTED]] > >>Sent: Wednesday, December 19, 2001 3:49 PM > >>To: cocoon-Dev > >>Subject: Re: try to improve logging > >> > >> > >>On Wed, 19 Dec 2001, Gerhard Froehlich wrote: > >> > >>> Hi Team, > >>> I _try_ to improve our logging and wanna change > >>> this to Berins proposal: > >>> core.log > >>> sitemap.log > >>> access.log > >>> error.log > >>> > >>> I found a logkit.xconf, where I can define this categories. > >>> Then I can assign this categories to the logger attribute > >>> of component config. in the cocoon.xconf. > >> > >>Correct. Actually even the component in the sitemap.xmap can be > >>configured with the logger attribute. > > > >yep > > > >>> But I stuck defining different log targets for classes like > >>> CocoonServlet, etc, which are not listed in the cocoon.xconf file. > >>> Do I have to set the target in each class seperate or can I do it > >>> in a general place, I didn't found? > >> > >>The CocoonServlet uses the log category mentioned in the web.xml file as > >>parameter "servlet-logger". All other classes (including Avalon CM) uses > >>the logger mentioned in the web.xml file parameter "cocoon-logger". > > > >aha, web.xml that was the missing file ;-). thx!! > > > >>> > >>> Maybe sombody can give me a little hint where to start and > >>> how to configure the LogKit best. > >> > >>Hope this helps. > > > >Much as always > > > > Gerhard > > > >PS: Greeting EURO countries. I just fetched the EURO starterkit from > >my Bank. Looks good those new coins ;-) > > > >>Giacomo > >> > >>> > >>> TIA > >>> > >>> Gerhard > >>> > >>> "A man with one watch knows what time it is, > >>> a man with two watches is never sure... > >>> (Albert Einstein)" > >>> > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, email: [EMAIL PROTECTED] > >>> > >>> > >>> > >>> > >> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, email: [EMAIL PROTECTED] > >> > >> > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, email: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]