[opencms-dev] debugging
Siegfried Puchbauer
siegfried.puchbauer at gmail.com
Wed Feb 22 13:08:11 CET 2006
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060222/2a1ec987/attachment.htm>
More information about the opencms-dev
mailing list