[opencms-dev] debugging
Nigel Kersten
nigel at cofa.unsw.edu.au
Wed Feb 22 21:04:17 CET 2006
This post is so useful I would like to suggest that we get it added
to the documentation.... :)
On 22/02/2006, at 11:08 PM, Siegfried Puchbauer wrote:
> in your log4j.properties:
>
> log4j.logger.com.package.name=DEBUG
>
> in your classes:
> Log LOG = CmsLog.getLog(TheClass.class);
>
> then all your debug messages in the classes in the package "
> com.package.name" and subpackages go to opencms.log
> you can also specify the logging behavior for Classes and subpackages
>
> hth
>
> On 2/22/06, Paul Pogonyshev <p.pogonyshev at finamatics.com> wrote:
> Jonathan Woods wrote:
> > In <catalina.base>/webapps/opencms/WEB-INF/classes/
> log4j.properties, just
> > set various things which say INFO to DEBUG, and restart your Tomcat
> > instance.
>
> Thanks. Is there a way to enable logging for a custom module?
>
> Paul
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
> --
> Mit freundlichen Grüßen
>
> Siegfried Puchbauer
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
--
Nigel Kersten [Senior Technical Officer]
College of Fine Arts, University of NSW, Australia.
CRICOS Provider Code: 00098G
More information about the opencms-dev
mailing list