Message Logs Rotation and PersistMessages..

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Message Logs Rotation and PersistMessages..

Mark Raynes
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


Hi,

 

 

What would be the preferred way of rotating the FIX message logs in QuickFIX?   Currently we have a situation where the message logs are growing indefinitely and the only way to rotate them is to bring down the application.  Is there a way of having QF open a new message log each session?  Or is there some signal I can send to the application that will re-open the logs?

 

On another (although related) note, why is it when I set PersistMessages=N, the messages are still persisted… have I misunderstood this setting?

 

 

Regards,

Mark


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Message Logs Rotation and PersistMessages..

Jeff-245
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html




On Mon, Apr 7, 2008 at 5:42 AM, Mark Raynes <[hidden email]> wrote:

What would be the preferred way of rotating the FIX message logs in QuickFIX?   Currently we have a situation where the message logs are growing indefinitely and the only way to rotate them is to bring down the application.  Is there a way of having QF open a new message log each session?  Or is there some signal I can send to the application that will re-open the logs?


I'm about to start working this as well - rotating the logs so they don't grow out of control.

Mark - did you figure anything out? 

What are others doing?

Thanks,
Jeff



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Message Logs Rotation and PersistMessages..

Mark Raynes
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


No responses as yet…   starting to lose hope!

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Jeff
Sent: Wednesday, April 09, 2008 14:46
To: Mark Raynes
Cc: [hidden email]
Subject: Re: [Quickfix-developers] Message Logs Rotation and PersistMessages..

 

 

On Mon, Apr 7, 2008 at 5:42 AM, Mark Raynes <[hidden email]> wrote:

What would be the preferred way of rotating the FIX message logs in QuickFIX?   Currently we have a situation where the message logs are growing indefinitely and the only way to rotate them is to bring down the application.  Is there a way of having QF open a new message log each session?  Or is there some signal I can send to the application that will re-open the logs?


I'm about to start working this as well - rotating the logs so they don't grow out of control.

Mark - did you figure anything out? 

What are others doing?

Thanks,
Jeff


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Message Logs Rotation and PersistMessages..

Oren Miller
In reply to this post by Mark Raynes
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


Right now you need to rotate them yourself and you do have to disconnect to do this.  We will look at a way to support this within quickfix.

-------- Original Message --------
Subject: Re: [Quickfix-developers] Message Logs Rotation and
PersistMessages..
From: "Mark Raynes" <[hidden email]>
Date: Wed, April 09, 2008 8:48 am
To: "Jeff" <[hidden email]>
Cc: [hidden email]

QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


No responses as yet…   starting to lose hope!
 

From: [hidden email] [[hidden email]] On Behalf Of Jeff
Sent: Wednesday, April 09, 2008 14:46
To: Mark Raynes
Cc: [hidden email]
Subject: Re: [Quickfix-developers] Message Logs Rotation and PersistMessages..
< o:p>
 

 

On Mon, Apr 7, 2008 at 5:42 AM, Mark Raynes <[hidden email]> wrote:
What would be the preferred way of rotating the FIX message logs in QuickFIX?   Currently we have a situation where the message logs are growing indefinitely and the only way to rotate them is to bring down the application.  Is there a way of having QF open a new message log each session?  Or is there some signal I can send to the application that will re-open the logs?


I'm about to start working this as well - rotating the logs so they don't grow out of control.

Mark - did you figure anything out? 

What are others doing?

Thanks,
Jeff


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Quickfix-developers mailing list
<A onclick="Popup.composeWindow('pcompose.php?sendto=Quickfix-developers%40lists.sourceforge.net'); return false;" href="#Compose">Quickfix-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quickfix-developers

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Message Logs Rotation andPersistMessages..

Andrew Culross
In reply to this post by Mark Raynes
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


Message
Here is an idea that might help.
 
Create multiple sessions in your config file that start and stop the sessions each day.
 
[SESSION]
BeginString=FIX.4.2
SenderCompID=XXXXX
TargetCompID=XXXX
UseDataDictionary=Y
DataDictionary=FIX42.xml
SessionQualifier=MONDAY
StartDay=su
StartTime=21:25:00
EndTime=21:00:00
EndDay=mo
 
[SESSION]
BeginString=FIX.4.2
SenderCompID=XXXXX
TargetCompID=XXXX
UseDataDictionary=Y
DataDictionary=FIX42.xml
SessionQualifier=TUESDAY
StartDay=mo
StartTime=21:25:00
EndTime=21:00:00
EndDay=tu
etc.
 
This will create daily log files that will not be locked/affect the current running session
 
Create a scheduled task/job that compresses/archives the previous days files - or do them all on a weekend.
 
 

Andrew Culross

Direct   +1 (914) 220-8849

http://www.twofour.com/emaildisclaimer.aspx

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Mark Raynes
Sent: Wednesday, April 09, 2008 9:49 AM
To: Jeff
Cc: [hidden email]
Subject: Re: [Quickfix-developers] Message Logs Rotation andPersistMessages..

No responses as yet…   starting to lose hope!

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Jeff
Sent: Wednesday, April 09, 2008 14:46
To: Mark Raynes
Cc: [hidden email]
Subject: Re: [Quickfix-developers] Message Logs Rotation and PersistMessages..

 

 

On Mon, Apr 7, 2008 at 5:42 AM, Mark Raynes <[hidden email]> wrote:

What would be the preferred way of rotating the FIX message logs in QuickFIX?   Currently we have a situation where the message logs are growing indefinitely and the only way to rotate them is to bring down the application.  Is there a way of having QF open a new message log each session?  Or is there some signal I can send to the application that will re-open the logs?


I'm about to start working this as well - rotating the logs so they don't grow out of control.

Mark - did you figure anything out? 

What are others doing?

Thanks,
Jeff


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Message Logs Rotation and PersistMessages..

garima gangwar
In reply to this post by Oren Miller
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/

 <oren@...> writes:
>
> QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
>
>
> Right now you need to rotate them yourself and you do have to disconnect
to do this.  We will look at a way to support this within quickfix.--------
 Original Message --------Subject: Re: [Quickfix-developers] Message Logs
Rotation andPersistMessages..From: "Mark Raynes" <mraynes-
j7Fd8dkzv11Wk0Htik3J/[hidden email]>Date: Wed, April 09, 2008 8:48
amTo: "Jeff" <[hidden email]>Cc:
quickfix-developers-
[hidden email] Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.htmlQuickFIX 
Support: http://www.quickfixengine.org/services.html
>  #wmMessage v\:*  {behavior:url(#default#VML);}
>  #wmMessage o\:*  {behavior:url(#default#VML);}
>  #wmMessage w\:*  {behavior:url(#default#VML);}
>  #wmMessage .shape  {behavior:url(#default#VML);}
>
>
>  #wmMessage /* Font Definitions */  <at> font-face  {font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
>  #wmMessage /* Style Definitions */ p.MsoNormal, #wmMessage
li.MsoNormal, #wmMessage div.MsoNormal  {margin:0cm; margin-
bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";}
>  #wmMessage a:link, #wmMessage span.MsoHyperlink  {color:blue; text-
decoration:underline;}
>  #wmMessage a:visited, #wmMessage span.MsoHyperlinkFollowed  
{color:blue; text-decoration:underline;}
>  #wmMessage p  {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-
bottom-alt:auto; margin-left:0cm; font-size:12.0pt; font-family:"Times New
Roman";}
>  #wmMessage span.EmailStyle18  {mso-style-type:personal-reply; font-
family:Arial; color:navy;}
>  #wmMessage  <at> page Section1  {size:612.0pt 792.0pt; margin:72.0pt
90.0pt 72.0pt 90.0pt;}

>  #wmMessage div.Section1  {page:Section1;}
>
>
> No responses as yet…   starting to lose hope!
>  
>
>
>
>
> From: [hidden email] [mailto:jhedlund-
[hidden email]] On Behalf Of JeffSent: Wednesday,
April 09, 2008 14:46To: Mark RaynesCc: quickfix-developers-
[hidden email]: Re: [Quickfix-
developers] Message Logs Rotation and PersistMessages..
>
>
>  
>  
>
> On Mon, Apr 7, 2008 at 5:42 AM, Mark Raynes <mraynes-
j7Fd8dkzv11Wk0Htik3J/[hidden email]> wrote:
>
>
>
> What would be the preferred way of rotating the FIX message logs in
QuickFIX?   Currently we have a situation where the message logs are
growing indefinitely and the only way to rotate them is to bring down the
application.  Is there a way of having QF open a new message log each
session?  Or is there some signal I can send to the application that will
re-open the logs?
>
>
>
>
> I'm about to start working this as well - rotating the logs so they
don't grow out of control.Mark - did you figure anything out?  What are
others doing?Thanks,Jeff
>
>
>
>
> -------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't
miss this year's exciting event. There's still time to save $100. Use
priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?
http://java.sun.com/javaone
>
> _______________________________________________Quickfix-developers
mailing listQuickfix-developers <at>
lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/quickfix-
developers
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?
http://java.sun.com/javaone
>
> _______________________________________________
> Quickfix-developers mailing list
> Quickfix-developers@...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers


Does anyone know how to configure quickfixj with log4j to roll over
messages.log????
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers