What does this have to do with XDoclet? Looks like JBoss stuff to me. -> Use
the JBoss mailing lists.

Aslak

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Aleksandr
> Shneyderman
> Sent: 11. mars 2003 23:56
> To: [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] Error while creating table
>
>
> in the $JBOSS_INSTALLATION_DIRECTORY/server/[server_conf]/conf
> directory find log4j.xml file and add the following appender
> and category:
>
>   <appender name="DEBUG"
> class="org.jboss.logging.appender.DailyRollingFileAppender">
>     <param name="File" value="${jboss.server.home.dir}/log/debug.log"/>
>     <param name="Append" value="false"/>
>     <param name="Threshold" value="DEBUG"/>
>
>     <!-- Rollover at midnight each day -->
>     <param name="DatePattern" value="'.'yyyy-MM-dd"/>
>
>
>     <layout class="org.apache.log4j.PatternLayout">
>       <!-- The default pattern: Date Priority [Category] Message\n -->
>       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
>     </layout>
>   </appender>
>
>   <category name="org.jboss.ejb.plugins.cmp">
>     <priority value="DEBUG" />
>     <appender-ref ref="DEBUG"/>
>   </category>
>
> This will create debug.log file in
> $JBOSS_INSTALLATION_DIRECTORY/server/[server_conf]/log
> directory and will have all the SQL that is generated
> by CMP module of JBoss
>



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to