User Tools

Site Tools


debugfile

This is an old revision of the document!


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.

Usage

To create a fresh applog.txt file:

  1. Exit the ECMLink application
  2. Edit the logging.properties file (more details below)
  3. Start the ECMLink application
  4. Recreate the problem you were having
  5. Exit the ECMLink application
  6. Grab the applog.txt file and edit/post it up on our forums
  7. Edit the logging.properties file and undo the changes you made above

logging.properties file

Locate the logging.properties file in the installation root directory. Under Windows, this will typically be:

C:\Program Files\ECMLink

You should find a file there that has a section that looks something like this.

############################################################
# Facility specific properties.
############################################################
.level = WARNING
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 this the logging.properties file.

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.1245679408.txt.gz · Last modified: 2009/06/22 10:03 by dmertz