This shows you the differences between two versions of the page.
debugfile [2009/04/17 14:44] twdorris |
debugfile [2024/03/15 11:16] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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. | ||
- | |||
- | |||
- | ===== 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. | ||
- | |||
- | ===== applog.txt file ===== | ||
- | The debug file can be located in the following directory: | ||
- | |||
- | C:\Documents and Settings\<username>\ecmlink | ||
- | |||
- | The filename will be applog.txt. | ||
- | |||
- | ===== Usage ===== | ||
- | To create a fresh applog.txt file: | ||
- | |||
- | - Exit the ECMLink application | ||
- | - 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 | ||
- | |||
- | |||
- | |||