Giter VIP home page Giter VIP logo

Comments (4)

ar avatar ar commented on June 23, 2024 1

The Debug participant functionality have been incorporated into the TransactionManager itself. The main reason for doing that was to emit in the same LogEvent profiling information. We don't have Debug and Trace events separated anymore, they get automatically emitted by the TM at the end of every transaction (provided the debug is on, which is usually the case).

Regarding the commit ID, it's right there: banknet-txnmgr-9:idle:1 - the 1 there is the commit ID.

from jpos-ee.

chhil avatar chhil commented on June 23, 2024

This may not be an issue.

I had the debug flag set to true and the debug participant added, this ended up creating 2 context loggings for one transaction.

I kept the flag and removed the participant and one entry got logged and the profiler entry for debug got logged too.

However I did notice that the commit entry in the log did not have a commit id.

<log realm="org.jpos.transaction.TransactionManager" at="2022-07-07T20:01:32.337" lifespan="2852ms">
  <commit>
    banknet-txnmgr-9:idle:1
    <context>
      NANOSTART: 114558888454917
      REQUEST: 
       <isomsg direction="incoming">
         <!-- org.jpos.iso.packager.GenericPackager[cfg/banknet_ebcidic_pci.xml] -->
         <field id="bitmap" value="{2, 3, 4, 6, 7, 10, 11, 12, 13, 14, 15, 16, 18, 22, 28, 32, 33, 35, 37, 41, 42, 43, 48, 49, 51, 61, 63}" type="bitmap"/>

Is this expected?

from jpos-ee.

chhil avatar chhil commented on June 23, 2024

Maybe we can document the following.

If you use the debug flag don't use the debug participant, otherwise you end up with 2 context log entries in the log.

from jpos-ee.

ar avatar ar commented on June 23, 2024

Done in jPOS-EE (bc9ceff).

jPOS-EE.pdf has been updated, the new notice looks like this:

Screen Shot 2022-07-21 at 16 06 35

from jpos-ee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.