It's a bug that should be fixed. You can read about it here: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&w=2&r=1&s=sitemap+logging %3F&q=b
-- Unico > > -----Original Message----- > From: Tuomo L [mailto:[EMAIL PROTECTED] > Sent: dinsdag 4 november 2003 17:37 > To: [EMAIL PROTECTED] > > Hey, that fixed it! :) But what is the logic of this? > > -Tuomo > > On Tue, 4 Nov 2003, Unico Hommes wrote: > > > > > In your logkit.xconf try <category > name="sitemap.mycategory" instead > > of just <category name="mycategory" > > > > -- Unico > > > > > > > > -----Original Message----- > > > From: Tuomo L [mailto:[EMAIL PROTECTED] > > > Sent: dinsdag 4 november 2003 17:12 > > > To: [EMAIL PROTECTED] > > > > > > I have declared my own category in logkit.xconf, and have > a target > > > for it too. In sitemap I have logger="mycategory" and > nothing gets > > > logged. The target is created in WEB-INF/logs correctly during > > > startup. No logging happens though. This worked ok with > Cocoon 2.1. > > > Not anymore. > > > > > > In sub-sitemap.xmap: > > > > > > <map:action name="myaction" logger="mycategory" > > > src="foo.bar.MyAction"/> > > > > > > In logkit.xconf: > > > > > > <targets> > > > > > > <cocoon id="mycomponent"> > > > > > > <filename>${context-root}/WEB-INF/logs/mycomponent.log</filename> > > > <format type="cocoon"> > > > %7.7{priority} %{time} [%{category}] (%{uri}) > > > %{thread}/%{class:short}: %{message}\n%{throwable} > > > </format> > > > <append>false</append> > > > </cocoon> > > > > > > </targets> > > > > > > <categories> > > > <category log-level="DEBUG" name="mycategory"> > > > <log-target id-ref="mycomponent"/> > > > <log-target id-ref="error"/> > > > </category> > > > </categories> > > > > > > > > > Whats happening? > > > > > > -Tuomo > > > > > > On Tue, 4 Nov 2003, Unico Hommes wrote: > > > > > > > > > > > Either change the logger category of your declared > component from > > > > 0 sitemap.my.category to my.category or expect the actual > > > category to be > > > > sitemap.sitemap.my.category. > > > > > > > > -- Unico > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Tuomo L [mailto:[EMAIL PROTECTED] > > > > > Sent: dinsdag 4 november 2003 16:02 > > > > > To: [EMAIL PROTECTED] > > > > > > > > > > Hi, > > > > > > > > > > Has there been some changes to the logging system since > > > Cocoon 2.1? > > > > > I updated to 2.1.2 (by copying the new jars to my > > > > > project-dir) and the logging of my custom sitemap > > > components stopped > > > > > working. Any ideas on this? > > > > > > > > > > -Tuomo > > > > > > > > > > > > > > > > > > > > > > > >
