Author |
Message
|
tinysimpleton |
Posted: Wed Mar 29, 2006 5:30 am Post subject: trace node & configurable properties |
|
|
Newbie
Joined: 29 Mar 2006 Posts: 3
|
Hi guys, a question.
Can a trace node be ..sort of..switched off after development stage ?
Meaning, without changing a message flow..and using only bar configurable properties , can we do this?
i saw that the deployment descriptor is used generally, but in that, looks like only the trace destination could be changed.
if the trace destination is set to none, does it mean its like..switched off? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 29, 2006 6:23 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is your end goal to stop the trace node from producing output, or stop the trace node from adding processing time to the flow when it parses data? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
tinysimpleton |
Posted: Wed Mar 29, 2006 6:33 am Post subject: |
|
|
Newbie
Joined: 29 Mar 2006 Posts: 3
|
to stop the trace node from producing output |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 29, 2006 6:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Then yes, using configurable properties to set the trace node destination to something useless should work. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JT |
Posted: Wed Mar 29, 2006 9:10 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
From the Information Center:
Quote: |
If you want to write the trace record to a file of your choice, select File.
If you select this option, you must also set File Path to the fully-qualified path name for the trace.
If you do not set the path, the location of the file depends on the system. For example, on z/OS, the
file is created within the home directory of the broker service ID.
You can use any name for the trace file. For example, c:\$user\trace\trace.log.
If you specify a file that does not already exist, the file is created. However, directories are not created |
|
|
Back to top |
|
 |
wschutz |
Posted: Wed Mar 29, 2006 9:18 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
If you're using Broker V6, you can define an "External" variable (aka User Defined Property) and use it in a filter node to "call" the trace node. UDP's can be set in the Bar file editor. _________________ -wayne |
|
Back to top |
|
 |
tinysimpleton |
Posted: Wed Mar 29, 2006 10:43 pm Post subject: |
|
|
Newbie
Joined: 29 Mar 2006 Posts: 3
|
hi JT
so even if i do not specify file path, it gets created anyway.
now if i want the trace file to created whenever i want,and using bar file(configurable property),ie without changin the message flow, how do i accomplish this? |
|
Back to top |
|
 |
EddieA |
Posted: Wed Mar 29, 2006 11:03 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
so even if i do not specify file path, it gets created anyway |
No. If you read JT's quote, it was saying where the file would be created if you don't specify a path. If you use a fully qualified path that doesn't exist, then the Broker doesn't create it. The broker will create a non-existent file, but it won't create directories.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|