how to enable logging ?

Questions about MultiCharts .NET and user contributed studies.
shanemcdonald
Posts: 196
Joined: 08 Aug 2012
Has thanked: 41 times
Been thanked: 41 times

how to enable logging ?

Postby shanemcdonald » 11 Aug 2013

mc locks up and when I try to create dump files to send to technical support, a dialog pops up and it says " logging disabled, please enable logging and try to recreate .................

or something like that.

how do you enable logging ? where is the setting ?

thx
shane

User avatar
Alex MultiCharts
Posts: 194
Joined: 09 Aug 2013
Has thanked: 43 times
Been thanked: 77 times

Re: how to enable logging ?

Postby Alex MultiCharts » 13 Aug 2013

To enable MultiCharts Logs, you need to do the following:

1. Close MultiCharts and make sure, that all MultiCharts processes ( https://www.multicharts.com/trading-sof ... _Processes ) are ended in Task Manager -> Processes tab.
2. Run The Registry (Click Windows button -> type regedit -> click enter).
3. Open the following Registry key: HKEY_CURRENT_USER\Software\TS Support\BugSlayer\ and specify the key "Trace\Enable" value as True.
4. Open the Registry key: HKEY_CURRENT_USER\Software\TS Support\BugSlayer\(Your MultiCharts Version)\ and delete all "Trace\Enable" there.

shanemcdonald
Posts: 196
Joined: 08 Aug 2012
Has thanked: 41 times
Been thanked: 41 times

Re: how to enable logging ?

Postby shanemcdonald » 13 Aug 2013

thanks alex

i think you did it for me on live chat !!
lol

thanks again

shane

shanemcdonald
Posts: 196
Joined: 08 Aug 2012
Has thanked: 41 times
Been thanked: 41 times

Re: how to enable logging ?

Postby shanemcdonald » 17 Aug 2013

do you delete the trace /enable im each of the subfolders like the tsserver subfolder ?
or only in the main folder ?

thanks

shane

User avatar
Alex MultiCharts
Posts: 194
Joined: 09 Aug 2013
Has thanked: 43 times
Been thanked: 77 times

Re: how to enable logging ?

Postby Alex MultiCharts » 23 Aug 2013

It is necessary to delete "Trace/Enable" keys in all the subfolders. The folders, where the keys are located should not be deleted.

User avatar
Smoky
Posts: 505
Joined: 03 Dec 2010
Location: Thailand
Has thanked: 96 times
Been thanked: 115 times

Re: how to enable logging ?

Postby Smoky » 17 May 2014

Hi Alex,

could you give us , how to disable writting "LMAXServerHost_NET_Trace.txt" it's one of the bigest log on MC64 !

It's realy a problem on small SSD :(

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1542 times
Been thanked: 1565 times
Contact:

Re: how to enable logging ?

Postby JoshM » 18 May 2014

could you give us , how to disable writting "LMAXServerHost_NET_Trace.txt" it's one of the bigest log on MC64 !

It's realy a problem on small SSD :(
In your case, I would personally prefer to change the logs folder location to a non-SSD drive so that these are available should a problem/error arise.

User avatar
Smoky
Posts: 505
Joined: 03 Dec 2010
Location: Thailand
Has thanked: 96 times
Been thanked: 115 times

Re: how to enable logging ?

Postby Smoky » 18 May 2014

Thanks JoshM,

I know this feature, i don't want to buy a hdd for logs files.

When you are in alpha or beta release, I understand that it is useful to have these files, but in the final version, I search the maximun power to calculate my stategy and writing log take Go and power for nothing.

Of course if there was a problem I would call logs again to find bug as usual ...

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1542 times
Been thanked: 1565 times
Contact:

Re: how to enable logging ?

Postby JoshM » 18 May 2014

I know this feature, i don't want to buy a hdd for logs files.
Ah okay, I assumed you had another hdd or usb drive besides the ssd.
When you are in alpha or beta release, I understand that it is useful to have these files, but in the final version, I search the maximun power to calculate my stategy and writing log take Go and power for nothing.
So you're also fine with disabling all logs instead of just the LMAX log file? In that case, that is already possible (see here).

A nice MultiCharts feature will be to disable logging only for real-time strategies (with the rest of the logs intact), since these are large in size and probably not that often helpful (e.g., disconnections are already tracked in the data feed and broker log files).

User avatar
Smoky
Posts: 505
Joined: 03 Dec 2010
Location: Thailand
Has thanked: 96 times
Been thanked: 115 times

Re: how to enable logging ?

Postby Smoky » 18 May 2014

As you can see i give a thanks to Andrew for this reg files but it does not work for this trace file :(

I add a key in the registry

Code: Select all

[HKEY_CURRENT_USER\Software\TS Support\BugSlayer\MultiCharts64\LMAXServerHost]
"Trace\\Enable"="false"
but it does not work too :(

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: how to enable logging ?

Postby Henry MultiСharts » 19 May 2014

I add a key in the registry

Code: Select all

[HKEY_CURRENT_USER\Software\TS Support\BugSlayer\MultiCharts64\LMAXServerHost]
"Trace\\Enable"="false"
but it does not work too :(
This issue will be resolved in MultiCharts 9.0 Beta 1


Return to “MultiCharts .NET”