That would not necessarily reflect the actual demarcation of transactions,
because a call to TransactionService.begin() does not necessarily means
starting a new transaction, this may just reuse an existing current
transaction.


-----Original Message-----
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 8:19 PM
To: [email protected]
Subject: RE: Hivetranse Transaction Logging 

Couldn't you put a LoggingInterceptor on your transaction service (I think
you have one)?

-----Original Message-----
From: Jean-Francois Poilpret [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 9:17 AM
To: [email protected]
Subject: RE: Hivetranse Transaction Logging 

Hi Aleksej,

As of latest version, HiveTranse does not provide any logging of
transactions start/end. Most logging done by HiveTranse is to trace problems
currently. Logging is done through commons-logging. It uses one of 3 logging
categories:
- hivetranse.core (name of HiveTranse module in HiveMind)
- net.sourceforge.hivetranse (package name)
- your own module/service categories (eg, when using the
TransactionInterceptor)

If you want to trace transactions start/end, the only option you got so far
is to write a TransactionEventListener and add it to the TransactionService.
Please take a look at the Javadoc for more info.

If you think logging would be important to have in HiveTranse, please file a
Request for Enhancement for it on SourceForge.

Regards

Jean-Francois

-----Original Message-----
From: Aleksej [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 7:37 PM
To: [email protected]
Subject: Hivetranse Transaction Logging 

I am trying to use Hibernate3 with Transaction demarcation service.
Everything looks fine so far but I want to log all transaction starts 
and ends
to ensure that everything works fine. Does Hivetranse uses Common Logging?
If so, then which Appenders it uses?





Reply via email to