Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by lresende: http://wiki.apache.org/ws/Tuscany/TuscanyJava/DAS_Java_Overview/Improved_logging New page: == Logging Overview == '''Overview''' Tuscany DAS uses log4J as it's logging mechanism. For more information and complete documentation on log4j, please visit their website (http://logging.apache.org/log4j/docs/) '''Using log while contributting for Tuscany DAS code''' While contributing to DAS code, please follow the following guidelines to add logging to your class ''Instantiate a logger'' - There is a logger factory available in org.apache.tuscany.das.rdb.util - To use it private final Logger logger = LoggerFactory.INSTANCE.getLogger(MappingWrapper.class); - To instrument your code with logging capabilities if(this.logger.isDebugEnabled()) this.logger.debug("your debug message"); Note: As a performance enhancement, please surround your debug code with a check to see if debug is enabled or not. '''Configuring DAS logging''' - TODO --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
