TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker and becoming a Supporting Member. For more info: Support TMC
Start a Discussionhttps://teslamotorsclub.com/tmc/tags/

2017 Model S Log File Format question

Discussion in 'Model S' started by obrockmann, Jul 9, 2017.

Tags:
  1. obrockmann

    obrockmann New Member

    Joined:
    Jul 9, 2017
    Messages:
    2
    Location:
    Germany
    Hello all,

    I am trying to look at the contents of a log from a 2017 Model S. I copied the contents of the sdcard from the CID module where I find this:

    <DIR> chg_wvfm
    0 dir.txt
    <DIR> dtc
    16.322 hwidacq.log
    439 hwids.acq
    439 hwids.txt
    <DIR> log
    45 manexcep.txt
    203.225 map.tsv
    0 modhwid.log
    1.980 modinfo.log
    10.726.087 release.tgz
    0 SERVICE.upd
    74 versions.acq

    Inside the log directory there is a binary file called 0.log. However the file does not seem to have the structure that is described in Tom Saxtons documentation. I tried all available log parsers on it but they all fail. So it seems that this log has another format. Is there any information on it available?

    Best, Oliver
     
  2. appleguru

    appleguru Member

    Joined:
    Mar 15, 2017
    Messages:
    301
    Location:
    US
    Could be a .tar.gz file; perhaps try adding that extension and extracting it?

    If you open the file in a hex editor and share the first few bytes I might be able to help more..
     
  3. obrockmann

    obrockmann New Member

    Joined:
    Jul 9, 2017
    Messages:
    2
    Location:
    Germany
    Thanks!

    Handling as tar.gz or tar does not work. First Bytes are:

    AA 00 00 2F 00 00 D0 00 07 DE 58 2E D7 00 01 73
    04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF A5


    There is also a log.cfg file. It starts with:

    logFilterVersion 1
    fileIsReload 1

    condition aebEventActive,3489804314,2
    condition chargeModeModelS,3489807971,3
    condition driveModeModelS,3489664106,1
    condition fastChargeModeModelS,3489807971,4
    condition fastLogLevel,3489790005,1
    condition fault,3489807971,7
    condition fcStartup,3489687942,5
    condition hvacRailOn,3489664207,1
    condition negCtrWelded,3489808459,1
    condition parkOocValid,3489837987,1
    condition planningActive,3489780788,1
    condition posCtrWelded,3489808460,1
    condition standby,3489807971,0
    condition supportModeModelS,3489807971,2
    condition voltageModeModelS,3489807971,5

    onChangeSignal 3489664305
    onChangeSignal 3489664283
    onChangeSignal 3489664302
    onChangeSignal 3489664231


    (...)
     

Share This Page