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,524
624
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
12,520
6,309
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

Replies
2
Views
660
Replies
13
Views
565
  • Last Post
Replies
8
Views
4K
Replies
13
Views
5K
Replies
4
Views
1K
Replies
0
Views
1K
  • Last Post
Replies
2
Views
4K
Replies
3
Views
611
Replies
1
Views
378
Top