Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »How to set log level
Author Topic: How to set log level (8 messages, Page 1 of 1)

bolaughlin
-Interested User-
Posts: 2
Joined: Jan 28, 2005


Posted: Jan 31, 2005 02:32 AM          Msg. 1 of 8
How do I adjust logging levels in the feed (to assist in debugging, etc)?

I'm writing in Java, so, I presume this would be something I send over the socket.

Thanks!

skunk
-DTN Evangelist-
Posts: 249
Joined: May 7, 2004


Posted: Jan 31, 2005 03:38 PM          Msg. 2 of 8
I dont believe there is any API available to change it.

The logging level is set using a registry key.

Search for "IQConnect logging" in the API docs
Edited by skunk on Jan 31, 2005 at 03:39 PM

bolaughlin
-Interested User-
Posts: 2
Joined: Jan 28, 2005


Posted: Feb 1, 2005 12:13 AM          Msg. 3 of 8
Thanks, skunk.

DTN_Natalie_H
-DTN Evangelist-
Posts: 175
Joined: May 10, 2004

DTN Market Access, LLC.


Posted: Feb 2, 2005 10:58 AM          Msg. 4 of 8
You need to change the "LogLevel" registry setting. Valid values start at zero for no logging, and go up to 4 for the most logging. You can find it in HKEY_CURRENT_USER/Software/DTN/IQFeed/Startup.

Natalie Hannan DTN Market Access, LLC.

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: Jun 18, 2005 04:41 PM          Msg. 5 of 8
I'm wondering if this works. I appear to get a log file with setting 1 but nothing at a setting of 4.

DTN_Natalie_H
-DTN Evangelist-
Posts: 175
Joined: May 10, 2004

DTN Market Access, LLC.


Posted: Jun 22, 2005 12:23 PM          Msg. 6 of 8
I checked this functionality wit the BETA release, and there is a bug. The log will work with a setting of 1 only. I'll look into this. Thanks for finding this!

Natalie

Natalie Hannan DTN Market Access, LLC.

David
-DTN Evangelist-
Posts: 113
Joined: May 7, 2004

I'd rather be...


Posted: Jun 22, 2005 05:54 PM          Msg. 7 of 8
The logging level in the beta is consistent with the release notes:

From the IQFeed Release Notes for v2.3.0.3 for logging:
Quote: For logging, IQ32.LOG and IQLOG.TXT have been replaced with IQConnectLog.txt. The registry settings that control logging are LogPath and LogLevel, which can be found in HKEY_CURRENT_USER\Software\DTN \IQFeed\Startup. Use LogPath to set the path to the log file, and use LogLevel (zero for off and one for on) to turn logging on or off.

This is how the new log works - with the exception that it does not log the closing of the program. I've re-written my program to use this simplification. I find this better than before due to the maturity of the feed. It should only be used for debugging and not for routine operation.

David

IQXP Software
http://www.iqxp.com

LiveWire Update Service
PO Box 1417
Fairfield, IA 52556
641-472-8393
http://www.livewire-cablesoft.com/

DTN_Natalie_H
-DTN Evangelist-
Posts: 175
Joined: May 10, 2004

DTN Market Access, LLC.


Posted: Jun 22, 2005 06:13 PM          Msg. 8 of 8
David,

You are correct that the logging is consistent with the release notes. The problem is that I had told some customers that the "old" log levels would still work.

You are also correct that there is not any logging during the close of the program. This will be added shortly.

Thanks!

Natalie

Natalie Hannan DTN Market Access, LLC.
 

 

Time: Tue April 23, 2024 7:34 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003