You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hivemind.apache.org by Aleksej <al...@ivs.lt> on 2006/07/12 14:37:06 UTC
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?
RE: Hivetranse Transaction Logging
Posted by James Carman <ja...@carmanconsulting.com>.
But, if that's enough to let them know what's going on, it's a very cheap
way to do it (all hivemodule.xml file stuff; no coding).
-----Original Message-----
From: Jean-Francois Poilpret [mailto:jfpoilpret@hcm.vnn.vn]
Sent: Wednesday, July 12, 2006 9:28 AM
To: user@hivemind.apache.org
Subject: RE: Hivetranse Transaction Logging
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:james@carmanconsulting.com]
Sent: Wednesday, July 12, 2006 8:19 PM
To: user@hivemind.apache.org
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:jfpoilpret@hcm.vnn.vn]
Sent: Wednesday, July 12, 2006 9:17 AM
To: user@hivemind.apache.org
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:aleksej@ivs.lt]
Sent: Wednesday, July 12, 2006 7:37 PM
To: hivemind-user@jakarta.apache.org
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?
RE: Hivetranse Transaction Logging
Posted by Jean-Francois Poilpret <jf...@hcm.vnn.vn>.
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:james@carmanconsulting.com]
Sent: Wednesday, July 12, 2006 8:19 PM
To: user@hivemind.apache.org
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:jfpoilpret@hcm.vnn.vn]
Sent: Wednesday, July 12, 2006 9:17 AM
To: user@hivemind.apache.org
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:aleksej@ivs.lt]
Sent: Wednesday, July 12, 2006 7:37 PM
To: hivemind-user@jakarta.apache.org
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?
RE: Hivetranse Transaction Logging
Posted by James Carman <ja...@carmanconsulting.com>.
Couldn't you put a LoggingInterceptor on your transaction service (I think
you have one)?
-----Original Message-----
From: Jean-Francois Poilpret [mailto:jfpoilpret@hcm.vnn.vn]
Sent: Wednesday, July 12, 2006 9:17 AM
To: user@hivemind.apache.org
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:aleksej@ivs.lt]
Sent: Wednesday, July 12, 2006 7:37 PM
To: hivemind-user@jakarta.apache.org
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?
RE: Hivetranse Transaction Logging
Posted by Jean-Francois Poilpret <jf...@hcm.vnn.vn>.
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:aleksej@ivs.lt]
Sent: Wednesday, July 12, 2006 7:37 PM
To: hivemind-user@jakarta.apache.org
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?