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.
To create a fresh applog.txt 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
If you are running Windows Vista, you'll need to be running as administrator to be able to edit the logging.properties file.
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.
com.ecmtuning.ecmlink.device.ecmlink.level = FINER
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.
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.
Under Windows, you can find the applog.txt file here:
%userprofile%\ecmlink\applog.txt
You can actually just type that directly into a file browser (like while you're trying to attach to an e-mail or forum post) and Windows will automatically load it up.
The specific location when running under Windows XP is:
C:\Documents and Settings\<username>\ecmlink\applog.txt
When running under Windows Vista/7, the debug file can be located in the following directory:
C:\Users\<username>\ecmlink\applog.txt