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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      39 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      19 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      26 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      35 views
      0 likes
      Last Post CarlTrading  
      Working...
      X