User Tools

Site Tools


debugfile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
debugfile [2009/04/17 14:44]
twdorris created
debugfile [2009/10/27 09:21]
twdorris
Line 1: Line 1:
 ====== Creating an ECMLink application debug file ====== ====== Creating an ECMLink application debug file ======
 In some debugging situations, it's necessary to collect more information from a customer'​s runtime environment. ​ You do that by increasing the debug level in our logging system. ​ Doing so dramatically increases log volume, though. ​ So you do not want to leave the configuration in this state permanently. In some debugging situations, it's necessary to collect more information from a customer'​s runtime environment. ​ You do that by increasing the debug level in our logging system. ​ Doing so dramatically increases log volume, though. ​ So you do not want to leave the configuration in this state permanently.
 +
 +===== Usage =====
 +To create a fresh applog.txt file:
 +
 +  - Exit the ECMLink application
 +  - Edit the logging.properties file (more details below)
 +  - Start the ECMLink application
 +  - Recreate the problem you were having
 +  - Exit the ECMLink application
 +  - Grab the applog.txt file and edit/post it up on our forums
 +  - Edit the logging.properties file and undo the changes you made above
 +
 +
  
 ===== logging.properties file ===== ===== logging.properties file =====
-Location ​the logging.properties file in the installation root directory. ​ Under Windows, this will typically be:+Locate ​the logging.properties file in the installation root directory. ​ Under Windows, this will typically be:
  
   C:\Program Files\ECMLink   C:\Program Files\ECMLink
Line 15: Line 28:
   com.ecmtuning.ecmlink.level = FINE   com.ecmtuning.ecmlink.level = FINE
  
-Change that FINE to FINEST and you'​ll ​get a LOT more debug data.+If you are running Windows Vista, ​you'​ll ​need to be running as administrator to be able to edit the logging.properties file.
  
-===== applog.txt file ===== 
-The debug file can be located in the following directory: 
  
-  C:​\Documents and Settings\<​username>​\ecmlink+==== Basic device data ====
  
-The filename will be applog.txt.+Now there are a couple choices to make If you want a reasonably manageable log file and you're just having basic communication problems, then just add the following line to the end of that file.
  
-===== Usage ===== +  com.ecmtuning.ecmlink.device.ecmlink.level ​FINER
-To create a fresh applog.txt file:+
  
-  - Exit the ECMLink ​application +You can change that FINER to FINEST if you want to log more debugging data related specifically to the ECMLink ​connection process. ​ But be forewarned that this file will be *megabytes* in size and can cause the application ​to slow down substantially. ​ I would not recommend attempting to datalog while logging is set to FINEST.
-  - Edit the logging.properties ​file as explained above +
-  - Start the ECMLink ​application +
-  - Recreate the problem you were having +
-  - Exit the ECMLink application +
-  - Grab the applog.txt file and edit/post it up on our forums+
  
  
 +==== Full-blown debug data ====
 +
 +If you want to turn on full-blown debugging to get all SORTS of information about application initialization,​ configuration files, communication bytes, etc., etc, then change the existing line in the logging.properties file to read:
 +
 +  com.ecmtuning.ecmlink.level = FINEST
 +
 +But be forewarned that this file will be *megabytes* in size and can cause the application to slow down substantially. ​ I would not recommend attempting to datalog while logging is set to FINEST.
 +
 +===== applog.txt file =====
 +When running under Windows XP, the debug file can be located in the following directory:
 +
 +  C:​\Documents and Settings\<​username>​\ecmlink
 +
 +When running under Windows Vista, the debug file can be located in the following directory:
 +
 +  C:​\Users\<​username>​\ecmlink
 +
 +The filename will be applog.txt.
  
  
debugfile.txt · Last modified: 2024/03/15 11:16 (external edit)