0 Replies Latest reply on Mar 31, 2008 5:03 AM by mauroarc

    Subclass org.jbpm.taskmgmt.log.TaskLog doens't work!

    mauroarc

      Hi i have this issue:
      i have done my event log on jbpm subclassing org.jbpm.taskmgmt.log.TaskLog named MyLog, so i mapped this class in hibernate:

      <subclass name="org.jbpm.taskinstance.MyLog"
      extends="org.jbpm.taskmgmt.log.TaskLog"
      discriminator-value="9">


      and i inserted this mapping ref in hibernate.cfg
      then i have a customized TaskInstance implementation working right where i put this code in my specific methods:

      MyLog taskLog = new MyLog (this);
      token.addLog(taskLog);

      Finally, this logging doesn't work, it isn't written on jbpm log!!
      Have i wronged o missed something? Or is not possible write custom logging? Any help is very appreciated