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 am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"Excellent datafeed !!!" - Comment from Arely
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"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
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
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: Sat May 18, 2024 6:16 PM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003