Redirect Print output to my logger - NinjaTrader Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Redirect Print output to my logger
Started:January 14th, 2010 (02:51 AM) by dimkdimk Views / Replies:994 / 1
Last Reply:January 14th, 2010 (04:43 AM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Redirect Print output to my logger

Old January 14th, 2010, 02:51 AM   #1 (permalink)
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB, ThinkOrSwim, Kinetic
Favorite Futures: Options, Forex
dimkdimk's Avatar
Posts: 38 since Dec 2009
Thanks: 0 given, 5 received

Redirect Print output to my logger

Hi All,

I was wondering if anyone knows how to make this:
I want to redirect all output of "Print" function including internal trace messages that NT sends on its own to my logger.
I am using log4net for logging and ideally I would like to see all messages in there. Anyone have any ideas ? Like override Print function or anything else in C# internals ? I am a beginner in C# just yet.

Thank you.

Reply With Quote

Old January 14th, 2010, 04:43 AM   #2 (permalink)
Elite Member
Neubrandenburg, Germany
Futures Experience: Advanced
Platform: R
Favorite Futures: Stocks
wh's Avatar
Posts: 539 since Jun 2009
Thanks: 297 given, 474 received

Here some HowTos

How to use log4net - CodeProject

Using log4net - O'Reilly Media


Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Redirect Print output to my logger

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need NT indicator help to print highlight bars jwhtrades NinjaTrader 35 April 15th, 2015 03:43 PM
The Fine Print of Goldman’s Subprime Bet kbit News and Current Events 0 June 7th, 2011 06:59 AM
I'm trying to print the values from an ArrayList kaywai NinjaTrader Programming 13 May 13th, 2011 09:33 AM
Anyone using Print+ from Need your help Chipmunk Vendors and Product Reviews 5 October 20th, 2010 04:30 AM
Print format for Forex variables arjfca EasyLanguage Programming 2 October 3rd, 2010 09:57 AM

All times are GMT -4. The time now is 03:14 AM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-24 in 0.09 seconds with 20 queries on phoenix via your IP