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:[EMAIL PROTECTED] Envoyé : 23 août, 2005 07:54 À : '[email protected]' 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 [EMAIL PROTECTED], 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
