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 » Write the message to different log file every day

Post new topic  Reply to topic
 Write the message to different log file every day « View previous topic :: View next topic » 
Author Message
narendra68
PostPosted: Thu Apr 07, 2005 1:37 pm    Post subject: Write the message to different log file every day Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 30

Hi
I need to write the incoming messages to a different log file every day.
Would some one suggest me the best solution for this?

I am thinking of writing a Custom java node. Would some point me to documentation to create a custom node from a scratch.

Thanks
naren
_________________
Narendra
Back to top
View user's profile Send private message
JT
PostPosted: Thu Apr 07, 2005 2:24 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Click here for details on 'Developing user-defined extensions'.

You also have the option of making an external call to a Java method if you have CSD4 installed (v5).
Back to top
View user's profile Send private message
Tibor
PostPosted: Fri Apr 08, 2005 12:29 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

naren,

If you need a quick-and-dirty solution:
- write into a simple log file from Trace node, e.g. flow.log
- schedule a task on every midnight
Code:
cp flow.log flow_`date +"%Y%m%d"`.log
cp /dev/null flow.log

This is a unix example, but you can port to windows.

Tibor
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Write the message to different log file every day
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.