You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Shshank Jain <ja...@gmail.com> on 2006/03/22 17:58:49 UTC
Logs not generated ?
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 ??
- Shanky
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Logs not generated ?
Posted by Shshank Jain <ja...@gmail.com>.
i did have a look at the web.xml. i will check again maybe i have
missed some setting..
On 3/23/06, Michael Wechner <mi...@wyona.com> wrote:
> Shshank Jain wrote:
>
> >so what parameters do i need to set for enabling the sitemap logs ?
> >
> >
>
> you get the sitemap logs already within the log4j logs ;-)
>
> but I guess you want to separate them from the rest.
>
> Have you taken a look at cocoon.xconf resp. web.xml?
>
> Michi
>
> >On 3/23/06, Michael Wechner <mi...@wyona.com> 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 <mi...@wyona.com> 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: user-unsubscribe@lenya.apache.org
> >>>>>For additional commands, e-mail: user-help@lenya.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >>>>For additional commands, e-mail: user-help@lenya.apache.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >>>For additional commands, e-mail: user-help@lenya.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>--
> >>Michael Wechner
> >>Wyona - Open Source Content Management - Apache Lenya
> >>http://www.wyona.com http://lenya.apache.org
> >>michael.wechner@wyona.com michi@apache.org
> >>+41 44 272 91 61
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >>For additional commands, e-mail: user-help@lenya.apache.org
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >For additional commands, e-mail: user-help@lenya.apache.org
> >
> >
> >
> >
>
>
> --
> Michael Wechner
> Wyona - Open Source Content Management - Apache Lenya
> http://www.wyona.com http://lenya.apache.org
> michael.wechner@wyona.com michi@apache.org
> +41 44 272 91 61
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Logs not generated ?
Posted by Michael Wechner <mi...@wyona.com>.
Shshank Jain wrote:
>so what parameters do i need to set for enabling the sitemap logs ?
>
>
you get the sitemap logs already within the log4j logs ;-)
but I guess you want to separate them from the rest.
Have you taken a look at cocoon.xconf resp. web.xml?
Michi
>On 3/23/06, Michael Wechner <mi...@wyona.com> 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 <mi...@wyona.com> 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: user-unsubscribe@lenya.apache.org
>>>>>For additional commands, e-mail: user-help@lenya.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>--
>>Michael Wechner
>>Wyona - Open Source Content Management - Apache Lenya
>>http://www.wyona.com http://lenya.apache.org
>>michael.wechner@wyona.com michi@apache.org
>>+41 44 272 91 61
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
+41 44 272 91 61
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Logs not generated ?
Posted by Josias Thöny <jo...@wyona.com>.
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 <mi...@wyona.com> 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 <mi...@wyona.com> 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: user-unsubscribe@lenya.apache.org
> > >>>For additional commands, e-mail: user-help@lenya.apache.org
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > >>For additional commands, e-mail: user-help@lenya.apache.org
> > >>
> > >>
> > >>
> > >>
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > >For additional commands, e-mail: user-help@lenya.apache.org
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Michael Wechner
> > Wyona - Open Source Content Management - Apache Lenya
> > http://www.wyona.com http://lenya.apache.org
> > michael.wechner@wyona.com michi@apache.org
> > +41 44 272 91 61
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: user-help@lenya.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Logs not generated ?
Posted by Shshank Jain <ja...@gmail.com>.
so what parameters do i need to set for enabling the sitemap logs ?
On 3/23/06, Michael Wechner <mi...@wyona.com> 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 <mi...@wyona.com> 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: user-unsubscribe@lenya.apache.org
> >>>For additional commands, e-mail: user-help@lenya.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >>For additional commands, e-mail: user-help@lenya.apache.org
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >For additional commands, e-mail: user-help@lenya.apache.org
> >
> >
> >
> >
>
>
> --
> Michael Wechner
> Wyona - Open Source Content Management - Apache Lenya
> http://www.wyona.com http://lenya.apache.org
> michael.wechner@wyona.com michi@apache.org
> +41 44 272 91 61
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Logs not generated ?
Posted by Michael Wechner <mi...@wyona.com>.
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 <mi...@wyona.com> 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: user-unsubscribe@lenya.apache.org
>>>For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
+41 44 272 91 61
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Logs not generated ?
Posted by Shshank Jain <ja...@gmail.com>.
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.
-Shanky
On 3/23/06, Michael Wechner <mi...@wyona.com> 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: user-unsubscribe@lenya.apache.org
> >For additional commands, e-mail: user-help@lenya.apache.org
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Logs not generated ?
Posted by Michael Wechner <mi...@wyona.com>.
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: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org