Author |
Message
|
amr89 |
Posted: Tue Mar 15, 2011 1:11 am Post subject: Log4j configuration.. |
|
|
Novice
Joined: 08 Feb 2011 Posts: 16
|
Hi all,
I am using log4j support pack in WMB v7.I have developed a flow using compute node and log4j node. I followed the instructions given in user guide IAM3.pdf. But I am not able to generate log files.
Do I need to specify the log file path any where?
Please help me ..
Thanks in advance..
Thanks and Regards,
Amrutha |
|
Back to top |
|
 |
nukalas2010 |
Posted: Tue Mar 15, 2011 2:58 am Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
Hi,
Please check the previous posts regarding on Log4j configuration in this forum....  |
|
Back to top |
|
 |
amr89 |
Posted: Tue Mar 15, 2011 3:08 am Post subject: |
|
|
Novice
Joined: 08 Feb 2011 Posts: 16
|
Yes I have restarted my toolkit and broker. I am using brokerlog.xml to initialize log4j. In brokerlog.xml I have specified the path where log files need to be generated. But I am not able to see any log happening.
Please help me.. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Mar 15, 2011 3:42 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
This support pac does not work all that well. Many many previous posts have documented the difficulties with it.
You can still use log4j without the support pac. Simply place log4j-1.2.16.jar in /var/mqsi/shared-classes and log4j.properties in /var/mqsi/common/wsrr .
On Windows, this would be $MQSI_WORKPATH/shared-classes and $MQSI_WORKPATH/common/wsrr respectively.
Then use a JCN where-ever you want to log something rather than a specialized node.
By the way, there is no such version as WMB 7.1. What version of WMB are you using? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
amr89 |
Posted: Tue Mar 15, 2011 3:56 am Post subject: |
|
|
Novice
Joined: 08 Feb 2011 Posts: 16
|
Hi lancelotlinc,
Thanks for the reply. I will try to use log4j directly without support pack.
I am using WMB v7.0.0.0.
Thanks and Regards,
Amrutha |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Mar 15, 2011 3:58 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Current GA version of WMB is 7.0.0.2. It has some major bug fixes. Highly recommend you get that one. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 15, 2011 6:39 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You should also evaluate the built-in features of Broker - Accounting & statistics, trace nodes, and monitoring - to see if these meets your needs without using log4j at all. |
|
Back to top |
|
 |
amr89 |
Posted: Tue Mar 15, 2011 9:55 pm Post subject: |
|
|
Novice
Joined: 08 Feb 2011 Posts: 16
|
Thanks for the reply.
My flow works fine without using log4j that is I can get the message from input queue to output queue without any issue.
Problem occurs when I am using log4j logging plugin node.  |
|
Back to top |
|
 |
|