1 Reply Latest reply on May 30, 2006 3:38 PM by aguizar

    Need to delegate ProcessLog.toString() and related subclasse

    michaelholtzman

      Greetings. As part of our JBPM integration effort, I need to view the JBPM Process Log in our application. I can do that without a problem, but the process log output (which is returned by ProcessLog.toString()) is, umm, not aestetically pleasing (i.e., it's UGLY).

      I would really like to specify a class that will format the log output, without modifying the core JBPM code.

      Any thoughts on this?

      [I realize that logging is the LEAST sexy part of JBPM, but in production it is very important, and it is also the primary area of concern expressed by management.]

      Thanx.

        • 1. Re: Need to delegate ProcessLog.toString() and related subcl
          aguizar

          The java.text package provides a general purpose framework for formatting and parsing objects. You can start from there. Create a subclass of Format that handles ProcessLog instances; say, ProcessLogFormat. You could further subclass ProcessLogFormat to deal with the different kinds of ProcessLogs.

          Whatever you do... please consider contributing back :-)