Author |
Message
|
Harshalw |
Posted: Mon Aug 04, 2008 11:23 pm Post subject: Trace Node- not creating log file |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
I am using WMB 6.1
I have include the TRACE Node in my message flow after the compute node and have a set the Destination property of Trace node to 'FILE' and have given the file path on windows sysem.
If i run the project, it is not creating any trace file.
Please help in what might be the issue with the trace node.
Thanks Harshalw |
|
Back to top |
|
 |
AkankshA |
Posted: Tue Aug 05, 2008 12:01 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
Does it not create the file or does it not write the logs in the file at all...
any exceptions? _________________ Cheers |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Aug 05, 2008 12:48 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi Harshalw,
Please paste the path you have specified (the path SHOULD exist) and the settings in your trace node.
Regards. |
|
Back to top |
|
 |
Harshalw |
Posted: Tue Aug 05, 2008 12:57 am Post subject: |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
It creates the file, however does not write logs in the file.
1 more thing is that if i wanted to log the information from compute node, trace node should be used before compute node or after compute node. |
|
Back to top |
|
 |
Harshalw |
Posted: Tue Aug 05, 2008 12:59 am Post subject: |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
file path is - C:\backup on Harshal's Computer (9.124.235.124)\Frp2\wmb.log . It is existting |
|
Back to top |
|
 |
AkankshA |
Posted: Tue Aug 05, 2008 1:22 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
what are you specifying in trace pattern..
Harshalw wrote: |
1 more thing is that if i wanted to log the information from compute node, trace node should be used before compute node or after compute node. |
after compute node... _________________ Cheers |
|
Back to top |
|
 |
Harshalw |
Posted: Tue Aug 05, 2008 5:02 am Post subject: |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Aug 05, 2008 5:04 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
keep the trace node after the Catch node, then only it will be get populated. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Harshalw |
Posted: Tue Aug 05, 2008 5:11 am Post subject: |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
so Gaya3 do i have include Catch node for this? |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Aug 05, 2008 5:15 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Harshalw wrote: |
so Gaya3 do i have include Catch node for this? |
i meant, Catch Terminal you can connect your trace node to this.
as you have explicitly written ${ExceptionList} thats why _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Harshalw |
Posted: Tue Aug 05, 2008 5:23 am Post subject: |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
Ok what pattern do i need to use if i wants to log everything.
my log file is still blank  |
|
Back to top |
|
 |
AkankshA |
Posted: Tue Aug 05, 2008 8:00 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
|
Back to top |
|
 |
jeeth_m |
Posted: Wed Aug 06, 2008 12:59 am Post subject: |
|
|
Voyager
Joined: 21 Jan 2002 Posts: 93
|
Try ${Root} instead of exception list. this will log the entire message
You get exception list only if an exception is thrown. |
|
Back to top |
|
 |
sandeep9678 |
Posted: Wed Aug 06, 2008 1:12 am Post subject: |
|
|
 Apprentice
Joined: 04 Aug 2008 Posts: 41 Location: India
|
Are you getting Exception in your flow? Is the trace node is connected through failure terminal of Compute Node?
If these things are not there then the you wont't get any thing printed in the trace file with your setting as you mentioned --> ${ExceptionList}. |
|
Back to top |
|
 |
Harshalw |
Posted: Wed Aug 06, 2008 1:34 am Post subject: |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
oh ok. Trace node is connected to the out terminal of the compute node.
Thanks . Will check with this |
|
Back to top |
|
 |
|