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

  • #1
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:

Answers and Replies

  • #3
1,532
636
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.
 
  • #4
13,581
7,568
Not much more to say here, no response from the OP. Closing thread.
 

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

  • Last Post
Replies
5
Views
2K
Replies
13
Views
386
  • Last Post
Replies
2
Views
608
  • Last Post
Replies
5
Views
2K
  • Last Post
2
Replies
32
Views
4K
Replies
17
Views
9K
  • Last Post
Replies
6
Views
2K
Replies
3
Views
1K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
4
Views
1K
Top