Mt4 LOG FILE --- Please eliminate the log File, it kills my harddrive memory

Back to topics list To post a new topic, please log in or register
avatar
20
COACCAUNT 2011.01.28 20:46
 

Hello Mql,

my log file has so much Data. It kills my memory. The same process in the tester File. A solution should be created.

Thanks

Balduin

 
avatar
571
brewmanz 2011.01.29 04:06 #
 

A) Look in the log file & see what's actually filling it up. Maybe a custom indicator/EA is logging heaps of stuff

B) Invest in a larger drive

C) Paper trade until your situation improves

 
avatar
13009
WHRoeder 2011.01.29 18:11 #
 
del logs\*.log periodically
avatar
1
seeths 2011.02.03 05:03 #
 
balduin:

Hello Mql,

my log file has so much Data. It kills my memory. The same process in the tester File. A solution should be created.

Thanks

Balduin

Here is a solution I found at http://helpdesk.commercialnetworkservices.net/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=168&nav=0,1,2

Solution

Some subscribers may want to delete their MT4 log files periodically to prevent the VE disk from becoming full, which can lead to serious issues. It is easy to do with a scheduled script. Here is how:

Open notepad and enter the following line:

del /S "C:\Program Files\*.log"


Save the file to your C drive as "deletefiles.BAT"

Now to configure the script to run on schedule...

start->control panel->Scheduled Tasks->add a task

Click "Next" then "Browse"

Navigate to the file you just saved, C:\deletefiles.BAT and select it

Under "Perform this task", select "daily" and click "next"

Set a time to run the batch and click next.

In the user name field, enter "Administrator"

Enter your Administrator password in the password fields

Click "Finish"

The MT4 log files will now be deleted every day at the time above. Note the current log file will not be deleted as it will be in use.

Hope it helps

seeths

 
avatar
1438
file45 2014.08.13 01:04 #
 

Create a script to delete MT4 / MT5 log files (builds 670 and 965 respectively current)

See here # post 5 

avatar
14167
RaptorUK 2014.08.13 10:29 #
 
file45:

Create a script to delete MT4 / MT5 log files (builds 670 and 965 respectively current)

See here # post 5 

Please don't double post, and especially not to ancient/old threads . . .

avatar
1438
file45 2014.08.13 14:00 #
 

OK - Gotcha

Thought it may be helpful as the thread comes up in search engines and the script is current.


avatar
4
fridayda13_2016 2016.07.17 08:23 #
 
file45:

Create a script to delete MT4 / MT5 log files (builds 670 and 965 respectively current)

See here # post 5 


Thanks,  it was very helpful 
Back to topics list  

To add comments, please log in or register