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 » Daily application log

Post new topic  Reply to topic
 Daily application log « View previous topic :: View next topic » 
Author Message
yaakovd
PostPosted: Tue May 27, 2008 7:13 am    Post subject: Daily application log Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

I need to create application log file for tracing transaction processed by MB flows.

Each transaction generates XML log message and send to logger queue. Single flow handles log messages and writes to log file using trace node.

Problem: file name is fixed, I need to "close" it periodically - daily.

I will happy to use File Output node, but unfortunatelly it doesn't suports "append".

Any sugestion?
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel


Last edited by yaakovd on Wed May 28, 2008 1:41 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Gaya3
PostPosted: Tue May 27, 2008 7:34 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

why cant you think of using JCN which uses log4j to do so.


It is also possible..

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
yaakovd
PostPosted: Tue May 27, 2008 10:05 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

yep... I'm trying to avoid coding...
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue May 27, 2008 12:22 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

FileOutput does support Append.

Use TimeoutNotification to close the file.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
yaakovd
PostPosted: Wed May 28, 2008 1:45 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

I can set daily TimeoutNotification, but what is the way to access file?

I also tried setting ${Environment.Variables.Logname} in File path of Trace node... doesn't work...
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
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 » Daily application log
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.