On Thu, 2006-03-23 at 16:38 +0530, Shshank Jain wrote:
> so what parameters do i  need to set for enabling the sitemap logs ?

I'm not sure about Lenya 1.2.2, but in the newest 1.2.x you have to edit
log4j.xconf:

First add a new appender:

<appender name="MY_APPENDER" class="org.apache.log4j.FileAppender">
        <param name="File"
value="${context-root}/WEB-INF/logs/sitemap.log" />
        <param name="Append" value="false" />           
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%-4r %d [%t] %-5p %
c.%M():%L %x - %m%n"/>
        </layout>           
</appender>

Then add a category for the sitemap:

<category name="sitemap" additivity="false">
      <priority value="DEBUG"/>
      <appender-ref ref="MY_APPENDER" />
</category>

Maybe it works in Lenya 1.2.2 as well.

hth,
Josias

> 
> On 3/23/06, Michael Wechner <[EMAIL PROTECTED]> wrote:
> > Shshank Jain wrote:
> >
> > >I have lenya 1.2.2 and cocoon 2.1.7 with tomcat 5.0.28.
> > >The system is generating only log4j logs and no other log files are being
> > >created.
> > >
> > >
> >
> > IIRC this is configured within cocoon.xconf or web.xml that everything
> > goes into log4j.log ..
> >
> > Michi
> >
> > >-Shanky
> > >
> > >
> > >
> > >On 3/23/06, Michael Wechner <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >>Shshank Jain wrote:
> > >>
> > >>
> > >>
> > >>>Hii All,
> > >>>
> > >>>The sitemap.log and the other logs are not being generated in the
> > >>>/WEB-INF/logs folder ?
> > >>>Is there any setting which has to be changed ??
> > >>>
> > >>>
> > >>>
> > >>>
> > >>what lenya version are you refering to?
> > >>
> > >>Michi
> > >>
> > >>
> > >>
> > >>>- Shanky
> > >>>
> > >>>---------------------------------------------------------------------
> > >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> > >>
> > >>
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Michael Wechner
> > Wyona      -   Open Source Content Management   -    Apache Lenya
> > http://www.wyona.com                      http://lenya.apache.org
> > [EMAIL PROTECTED]                        [EMAIL PROTECTED]
> > +41 44 272 91 61
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to