{{Quickfixn}} How to get reason of disconnect?

Grant Birchmeier gbirchmeier at connamara.com
Wed Feb 20 07:38:33 PST 2013


Ah, I see your point.  For market data connections that are mostly
one-way and you're not submitting orders, then the logging can be
quite burdensome.  I can see how event-only logging might be desired
there.  It is something we can look into (unless someone else looks
into it first and submits a pull request).

-Grant


On Wed, Feb 20, 2013 at 9:25 AM, Ondra Květ <kwitee at gmail.com> wrote:
> Thanks for your answer.
>
> My messages log has 400MB in a few hours (maybe 2 or more). This kind of
> logging has no use for me, I don't really know how would I look for error in
> that large chunk of data. I am using fix to download market data (exchange
> rates only) - and the number of messages really goes sky-high after a little
> while.
>
> It would be nice if there was an option to choose to log events or messages
> or both (I looked at QuickFix/J and it appears that they have this option).
> If there is not, it should propably do without the event log for now.
>
> -- kwitee
>
>
> 2013/2/20 Grant Birchmeier <gbirchmeier at connamara.com>
>>
>> Is hard drive space really a problem, or do you just think it's a
>> problem?  Based on my multiple years' experience with multiple FIX
>> applications, this is an unfounded fear.
>>
>> If you're running a production FIX app, YOU WANT THOSE LOGS.  Trust me
>> on this.  If something goes wrong, you're going to want to look at
>> them to see what happened.  You can always delete the logs later,
>> either manually or via a daily or weekly script.  A few weeks of logs
>> is no problem for your hard drive.
>>
>> Eventually we should add support for better logging features.
>> Probably we'll do Log4net, which will give us rollover and automatic
>> cleanup.
>>
>> Our API documention is not as good as it should be.  Some classes and
>> methods are not documented very well.  It's something we are
>> constantly improving.
>>
>> -Grant
>>
>>
>> On Wed, Feb 20, 2013 at 8:34 AM, Ondra Květ <kwitee at gmail.com> wrote:
>> > Thanks for your answer.
>> > I set up file logging via FileLogPath in the config file. But now is the
>> > application also logging all messages, which takes a lot of space. Can I
>> > somehow disable this and enable event log only? Also is there any
>> > class-methods documentation where I can find these things?
>> >
>> > -- kwitee
>> >
>> >
>> > 2013/2/19 Grant Birchmeier <gbirchmeier at connamara.com>
>> >>
>> >> Your event log should already log the reason.  This information won't
>> >> be in the FIX messaging.
>> >>
>> >>
>> >> On Mon, Feb 18, 2013 at 3:03 AM, Ondra Květ <kwitee at gmail.com> wrote:
>> >> > Hi.
>> >> > What are possible reasons of fix connection to disconnect? And when
>> >> > this
>> >> > happens, is there a way to get that reason?
>> >> > I want to log this information.
>> >> > Thanks.
>> >> > kwitee
>> >> >
>> >> > _______________________________________________
>> >> > Quickfixn mailing list
>> >> > Quickfixn at lists.quickfixn.com
>> >> > http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Grant Birchmeier
>> >> Connamara Systems, LLC
>> >> Made-To-Measure Trading Solutions.
>> >> Exactly what you need. No more. No less.
>> >> http://connamara.com
>> >> _______________________________________________
>> >> Quickfixn mailing list
>> >> Quickfixn at lists.quickfixn.com
>> >> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>> >
>> >
>> >
>> > _______________________________________________
>> > Quickfixn mailing list
>> > Quickfixn at lists.quickfixn.com
>> > http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>> >
>>
>>
>>
>> --
>> Grant Birchmeier
>> Connamara Systems, LLC
>> Made-To-Measure Trading Solutions.
>> Exactly what you need. No more. No less.
>> http://connamara.com
>> _______________________________________________
>> Quickfixn mailing list
>> Quickfixn at lists.quickfixn.com
>> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>



-- 
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.
Exactly what you need. No more. No less.
http://connamara.com



More information about the Quickfixn mailing list