Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

.en log files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    .en log files

    In the folder "C:\Users\%USERNAME%\Documents\NinjaTrader 8\log" some files have a .en suffix and some do not. What is the difference?

    Sometimes the filespec contains the string "00000", but sometimes it's "0000n". What is the significance of the last digit?
    Last edited by Atomic; 01-08-2023, 06:05 AM.

    #2
    I would imagine the 'en' is a language identifier -- in this case English.

    Filenames like,

    log.20221221.00003.en.txt
    log.20221221.00003.txt

    means this is the 3rd log file created on Dec 21, 2022.

    Why '3'?
    The number increments every time you exit/restart NT on that date.
    After midnight the date changes and the log number restarts at '0'.

    [EDIT: Oops, the numbering is zero-based, so the '00003' log file is
    actually the 4th log file written, that is,
    log.20221221.00000.txt <== 1st log file
    ​log.20221221.00001.txt <== 2nd log file
    ​log.20221221.00002.txt <== 3rd log file
    ​log.20221221.00003.txt <== 4th log file
    ​Make sense?]

    -=o=-

    I suspect the 'en' log file is guaranteed to be English, because that's
    my language setting at Control Center> Tools> Options> Language.

    Change your NT language to German and restart NT, then you'd see
    'de' and the next log file would be in German -- as would the software
    itself -- the English 'en' suffix having been replaced by 'de'.

    However, the file with no language suffix, that file is guaranteed to
    always be in English, regardless of the NT language setting.

    I just tested this, yep ... that's what it does.

    Why do that?
    Why write two log files?
    Probably because (most of) support is/was USA-based, meaning most
    everyone employed in Support probably/usually speaks/reads/writes
    English very well -- so that extra 'always English' log file is critical to
    the Support team when you email them your log files.

    Just my 2˘.

    Last edited by bltdavid; 01-09-2023, 05:30 AM.

    Comment


      #3
      Originally posted by bltdavid View Post
      I would imagine the 'en' is a language identifier -- in this case English.

      Filenames like,

      log.20221221.00003.en.txt
      log.20221221.00003.txt

      means this is the 3rd log file created on Dec 21, 2022.

      Why '3'?
      The number increments every time you exit/restart NT on that date.
      After midnight the date changes and the log number restarts at '0'.

      [EDIT: Oops, the numbering is zero-based, so the '00003' log file is
      actually the the 4th log file written, that is,
      log.20221221.00000.txt <== 1st log file
      ​log.20221221.00001.txt <== 2nd log file
      ​log.20221221.00002.txt <== 3rd log file
      ​log.20221221.00003.txt <== 4th log file
      ​Make sense?]

      -=o=-

      I suspect the 'en' log file is guaranteed to be English, because that's
      my language setting at Control Center> Tools> Options> Language.

      Change your NT language to German and restart NT, then you'd see
      'de' and that file would be in German -- as would the software itself,
      the English 'en' file has gone away.

      However, the file with no language suffix, that file is guaranteed to
      always be in English, regardless of the NT language setting.

      I just tested this, yep ... that's what it does.

      Why do that?
      Why write two log files?
      Probably because (most of) support is/was USA-based, meaning most
      everyone employed in Support probably/usually speaks/reads/writes
      English very well -- so that extra 'always English' log file is critical to
      the Support team when you email them your log files.

      Just my 2˘.

      Thanks for the explain. Makes perfect sense.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by gameuled, Yesterday, 11:18 PM
      0 responses
      12 views
      0 likes
      Last Post gameuled  
      Started by futurenow, 12-06-2021, 05:49 PM
      19 responses
      989 views
      0 likes
      Last Post Redders
      by Redders
       
      Started by Josephina55, 06-14-2025, 06:30 PM
      0 responses
      29 views
      0 likes
      Last Post Josephina55  
      Started by mathfrick2023, 05-08-2025, 12:51 PM
      8 responses
      92 views
      0 likes
      Last Post Yogaman
      by Yogaman
       
      Started by several, 04-22-2025, 05:21 AM
      2 responses
      264 views
      0 likes
      Last Post Lukasxgtx  
      Working...
      X