Why visual log parser only return 5000 rows per query?

385 views
Skip to first unread message

Tung vu thanh

unread,
Oct 28, 2009, 3:10:38 AM10/28/09
to Visual Log Parser
Who can explain that for me?
I want to query more 5000 rows.
Thanks all.

strivinglife

unread,
Oct 28, 2009, 8:32:32 AM10/28/09
to Visual Log Parser
HI Tung.

The last time I checked the source, the 5000 rows was baked into the
code. If you modify that line and rebuild, you'll be able to return as
many records as you'd like.

~James

strivinglife

unread,
Oct 28, 2009, 10:54:12 PM10/28/09
to Visual Log Parser
To save someone the hassle:

The relevant line is in RunTime\QueryCommand.cs (http://
visuallogparser.codeplex.com/SourceControl/changeset/view/
10597#159528) and is as follows.

int maxUnitsInResults = 5000;

You could easily store this in app.config, and then simply pull the
value when the application starts.

You may also want to check Query.cs (http://
visuallogparser.codeplex.com/SourceControl/changeset/view/
10597#159527), although I believe it's simply ignoring that value.

~James
> > Thanks all.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages