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)




"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"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
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"It’s so nice to be working with real professionals!" - Comment from Len
"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
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"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.
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 4, 2024 5:28 AM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003