cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JD Daniels ...@kismetsoftware.com>
Subject Re: [SOLVED] logger -- I'm missing someting
Date Tue, 23 Aug 2005 15:43:23 GMT
Would you mind explaining how it works? It may seem simple now, but you 
were confused at one point - might be a good addition to the docs :)

JD

Boisvert, Éric wrote:
> Eureka... The 'dumb' part was sitting on my chair.
> I failed to see how the logger="category.subcategory..." worked.. now it
> make sense and I can see my logs.
> 
> cheers
> 
> -----Message d'origine-----
> De : "Boisvert, Éric" [mailto:eboisver@nrcan.gc.ca]
> Envoyé : 23 août, 2005 07:54
> À : 'users@cocoon.apache.org'
> Objet : logger -- I'm missing someting
> 
> 
> Hi Cocooners
> 
> I'm trying to write a transformer (total newby here) and I'm baffled by the
> loggers.. I'm trying to use the getLogger.debug("blah") but can't see where
> there log entries goes.  I read document from various place about the
> loggers and how to configure it in the logkit.conf, etc.. but there is
> something I'm missing for sure.  I managed to create a new log file, etc..
> but I still can see the log entries nowhere..
> 
> I know that the getLogger().isDebugEnabled() returns true (I wrote a small
> primitive logger to check this out..).  The transformer derived from
> AbstractExtractionTransformer and Implemented
> Recyclable,Serviceable,Configurable and Disposable., I declared my
> tranformer class in the sitemap and assigned a name to the logger (various
> test, none worked). I suspect the problem is not here since I can actually
> send log events, the problem is probably just a dumb configuration problem.
> 
> Has anyone a (complete) example how to set logger to debug a custom
> transformer?
> 
> Many thanks
> 
> ================================================================
> Eric Boisvert
> Spécialiste TI-GI / IT-IM specialist
> Eric.Boisvert@rncan.gc.ca, 418-654-3705, facsimile/télécopieur 
> 418-654-2615
> 490, rue de la Couronne, Québec (Québec), G1K 9A9
> 490, rue de la Couronne, Quebec, Quebec, G1K 9A9
> 
> Laboratoire de cartographie numérique et de photogrammétrie (LCNP)
> Digital Cartography and Photogrammetry Laboratory (DCPL)
> Commission géologique du Canada (Québec) / Geological Survey of Canada
> (Quebec)
> Ressources naturelles Canada / Natural Resources Canada
> Gouvernement du Canada / Government of Canada
> http://www.cgcq.rncan.gc.ca/lcnp
> http://www.nrcan.gc.ca/gsc
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message