ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Dinamically set the file path in a trace node

Post new topic  Reply to topic
 Dinamically set the file path in a trace node « View previous topic :: View next topic » 
Author Message
raquel.saracay
PostPosted: Thu May 31, 2007 2:08 pm    Post subject: Dinamically set the file path in a trace node Reply with quote

Novice

Joined: 10 May 2007
Posts: 11

I need to set dinamically the file path in a trace node. Is there any way to specify this parameter in development time?.
We are trying to avoid changes in the message flow from test environment to production environment, so we want to set the parameter in a table insted of hard code it in the trace node. We also want to have a different log file for each day, and want to specify the name of the file adding the date.

Thanks for your help
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Fri Jun 01, 2007 5:38 am    Post subject: Re: Dinamically set the file path in a trace node Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Hi, I think it is not possible with all of this requrements (with standard nodes).

You can set different filepath on DEV and PRD by promoting this attribute and set it to proper value in bar file.

Rest of this requirements (parameter in a table, different log file for each day, and adding the date) you can achieve by JAVACompute node.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Fri Jun 01, 2007 5:58 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi raquel.saracay,

I don't see why you should be having different paths for Dev and Prod in the first place, becoz....you would not be having the Dev and Prod on the same box in the first place(and so not have any confusion as to who is writing the log)...and you should not be using a path like '../Dev/..' or '../Prod/..' but a common path like '../logs/..'(this will help developers and testers too, rather than remembering different paths in different machines)...

The rest ofcourse as marcin.kasinski said, can be done from Java Compute node, or from a backend scheduled Java app, which will trigger every night, read that days log(perhaps sending notification to some user or admin) and rename it with the date..etc etc

Regards.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Dinamically set the file path in a trace node
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.