|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Daily application log |
« View previous topic :: View next topic » |
Author |
Message
|
yaakovd |
Posted: Tue May 27, 2008 7:13 am Post subject: Daily application log |
|
|
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 |
|
 |
Gaya3 |
Posted: Tue May 27, 2008 7:34 am Post subject: |
|
|
 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 |
|
 |
yaakovd |
Posted: Tue May 27, 2008 10:05 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue May 27, 2008 12:22 pm Post subject: |
|
|
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 |
|
 |
yaakovd |
Posted: Wed May 28, 2008 1:45 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|