17gb MT4 build 406 log file
Results 1 to 6 of 6

Thread: 17gb MT4 build 406 log file

  1. #1
    Yesterday I happened to check my hard drive stats and found that my available area had strangely declined from the usual 60-80% to less than 20%. After a little detective work I found my Experts/Logs folder has been over 17 GB, all created in one day of conducting Strategy Tester. I do not use this function except for shaking the bugs out of a new EA, and that's exactly what I had done a day or two before.

    Has anybody else had a similar experience? I was not able to start the logfile in question due to its size, but deleting the file returned my driveway into normal...

    I've been running MT4 (currently build 406) under Linux/Wine since about construct 226 and have not ever had this happen before.

    No big whoop, just a little possible glitch to watch on in the event that you are a regular user of this Strategy Tester.

  2. #2
    Quote Originally Posted by ;
    Yesterday I happened to look at my hard disk stats and found that my available space had strangely declined in the normal 60-80% to less than 20%. After a little detective work I found that my Experts/Logs folder was 17 GB, all generated in a single day of running Strategy Tester. I normally do not use this function except for shaking the bugs out of a new EA, which is exactly what I'd done a day or two before.

    Has anyone else had a similar experience? I was unable to open the logfile in question because of its dimensions, but deleting the file returned...
    have you got a lot of Printing statements in your code?
    If so comment them out once you longer need them you will have to ditch your log files frequently.

  3. #3
    Since your running in Linux, if you want to browse the contents of this file you'll be able to use'less' in a casing (or you want want to'tail -f' while running the expert). The'less' program does not load the whole file only a screenful at a time.

  4. #4
    Produce a script to delete MT4 / MT5 log files.

    Current builds today of post are MT4 670 and MT5 965.

    Note: This illuion relates to Windows 8.1 64 bit. Folder and file paths for Windows 8.1 32 bit along with other versions of windows may or will have to be changed accordingly.

    Loion of the MT4 log files: C:\Users\Your user name\AppData\Roaming\MetaQuotes\Terminal\32 character alphanumeric terminal identity\logs\ C:\Users\Your user name\AppData\Roaming\MetaQuotes\Terminal\32 character alphanumeric terminal identity\tester\logs\ C:\Users\Your user name\AppData\Roaming\MetaQuotes\Terminal\32 character alphanumeric terminal identity\MQL4\Logs\ Loion of the MT5 log files:

    As previously except MQL4 will be MQL5.

    Identifiion

    If more that one MT4 / MT5 Terminal is installed the associated Terminal can be found through gt;gt; 32 character alphanumerical terminal identity gt;gt; original.txt.
    The original.txt file will contain the Broker name and whether MT4 or MT5.

    Produce the deletion script:The below Script Template comprises an MT4 script block and an MT5 script block. Duplie the MT4 or - and MT5 scrip block/s from the below Script Template to some new MS Window Notepad or similar text editor that accommodates .bat expansion. If more than one MT4 or MT5 Root is installed replie the applicable code block as required. . What to change - a: you broker name b: examples of #8220;T#8221; involving cd Users and cd AppData with #8220;your user name#8221; (excluding quotation marks). C: the 32 alphanumeric. D: any applicable route gaps. Omit MT4 or MT5 block if not required. The final code has to be saved with a .bat expansion. Instance: Deletelogs.bat. Note: Notpad might have to be changed from #8220;txt#8221; to #8220;All files(*. *)#8221; for viewing and saving. See - Save as type drop down. NOTE: Thenigeriaforextradingeditor is formatting the term log as l og in the below Script Template. This distance has to be removed when copied to Notepad.

    Scipt Template

    @ ECHO OFF

    echo MT4 your broker name
    cd c:\
    cd Users
    cd T
    cd AppData
    cd Roaming
    cd MetaQuotes
    cd Terminal
    cd 9F51A4A5C91921D00 F 5E124F12 F 716EB
    cd logs
    del *.log
    del?te:~6,4% date:~3,2% date:~0,2%.log
    cd. .
    Cd tester
    del *.log
    del?te:~6,4% date:~3,2% date:~0,2%.log
    cd. .
    Cd MQL4
    cd logs
    del *.log
    del?te:~6,4% date:~3,2% date:~0,2%.log
    cd. .

    Echo MT5 your broker name
    cd c:\
    cd Users
    cd T
    cd AppData
    cd Roaming
    cd MetaQuotes
    cd Terminal
    cd 62FE5B6112847 B 69D1ABE633 B 337F1DA
    cd logs
    del *.log
    del?te:~6,4% date:~3,2% date:~0,2%.log
    cd. .
    Cd tester
    del *.log
    del?te:~6,4% date:~3,2% date:~0,2%.log
    cd. .
    Cd MQL5
    cd logs
    del *.log
    del?te:~6,4% date:~3,2% date:~0,2%.log

    Copy the 32 alphanumeric with no malfunction.
    (if required, use Ctrl mouse wheel to enlarge images)

    Step 1. Duplie speech as text.

    Step 2. Past into MS Wordpad or similar text editor.

    Step 3: Copy only the alphanumeric and glue in the script as replacement of this Script Template alphanumeric.

    Using the script fileSave the log deletion script to a folder of option (not the origin C:\) and add a short cut to the desktop; devote an appropriate icon; Shortcut keys are also inserted. The script can also be auto run at start up with practically zero additional PC resources. Save a copy of the script file to - C:\Users\Your User Name\AppData\Roaming\Microsoft\Windows\StatMenu\Pr ogr\Stat-up Run script and then check if all log files have been deleted. If required correct script. Note: Log files can only be deleted from terminals that are closed. Log files of open terminals will not be deleted because they are in use.

  5. #5
    The aforementioned icon is a short cut and as such lacks the Pin to Taskbar and Pin to Start properties.

    To bring these properties right click on the icon 8594; Properties #8594; Shortcut #8594; visit Target and kind explorer (including quotations) in front of C:\Users\Windows\... #8594; Click OK.


    Right click on the icon 8594; Pin to Taskbar and Pin to Start possessions should be observable.

  6. #6
    Consider using file splitters. There are several around (dont remember name) which will divide the file into several variety (as in preferences ) and then it is possible to open or read.

    Bigger RAMgt; lesser the splits. . .will work!

    IMO, EA wrote a lot in log (Lot of printing statements / same print statement executed per tick or something, likely )
    AFA my experience is concerned, I had once a 80-100 Mb file (over a long period)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.