I am using IBM-BPM tool, and I am trying to do the custom loggin

  • Context: PHP 
  • Thread starter Thread starter sandeepkumar10
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around issues faced by a user attempting to implement custom logging in the IBM-BPM tool. The focus is on troubleshooting a script that works in previous environments but fails in the current setup.

Discussion Character

  • Technical explanation, Debate/contested

Main Points Raised

  • The original poster (Sandeep) describes a custom logging setup using a script that has previously functioned correctly but is now encountering issues in the current environment.
  • Some participants suggest contacting IBM support for assistance, indicating that the problem may be specific to the current configuration.
  • One participant advises checking the console for errors, implying that there may be runtime issues affecting the logging functionality.
  • Another participant notes that the script is written in JavaScript, not PHP, which may be relevant to the discussion of the logging implementation.

Areas of Agreement / Disagreement

Participants generally agree that contacting IBM support may be beneficial, but there is no consensus on the specific cause of the issue or a definitive solution provided in the discussion.

Contextual Notes

There are limitations in the information provided, such as the lack of details on the current environment's configuration compared to previous setups, and no specific errors have been identified from the console.

Who May Find This Useful

Users of IBM-BPM who are experiencing similar issues with custom logging implementations or those seeking troubleshooting advice for scripting within the tool.

sandeepkumar10
Messages
1
Reaction score
0
Hi all, I am using IBM-BPM tool. I am trying to do the custom logging. I have created a General System Service and attached the following script. It works very well in other process apps and in the previous snapshots in the same process app. But it does not work in the current environment. I am not able to figure out why is it not working. Please provide a solution if any of you had faced such problems.

Code:
Packages.org.apache.log4j.xml.DOMConfigurator.configure(tw.env.logFilePath);
var logger = Packages.org.apache.log4j.Logger.getLogger("FHG");
logger.error("sasf");

I have created the xml file and have placed in the location specified in a logFilePath variable.
Thanks,
Sandeep,
<<Moderator: Self promoting link removed.>>
 
Last edited by a moderator:
Technology news on Phys.org
Have you looked in your console for any errors? Usually things like this will error. I also would suggest reaching out to IBM, if it works on one platform, it should work on another as long as they are configured about the same way.

BTW, that's Javascript, not PHP.
 
Not much more to say here, no response from the OP. Closing thread.