PDA

View Full Version : Log file location



VJKinstall
03-26-2006, 04:21 AM
Hello,

For the following,

Swing custom dialog code, in

public void initializeUIDialogName (com.installshield.event.ui.ISDialogContext context) {

. . .

LogUtils.getLog().logEvent (this, Log.ERROR, "message");

. . .

}


1) what would be the default location of the log file and how to configure it for the application ?

2) how to configure the logging level ?

Under Installation Designer -> Installation Information -> General Information -> Advanced Properties -> Log File location is specified. But log messages are not written to this file.

Thanks in advance for the help.

Mayus4
03-27-2006, 08:47 AM
Test with the next steps:

- In View List:
/ Organization / Installation Design
- In Explorer:
/ project name /
- In Properties:
/ Standard Properties / Install Location

The default value is "$D(install)/$P(vendor)/$P(displayName)", and I have my log over there ┬┐and you?

aruizf
03-28-2006, 05:07 AM
Go to "Behavior and Logic/Sequences" in the View List, and in the Explorer go to "Sequences/Product Sequence/Installation Sequence". Then, go to Properties and click on "Standard Properties/Wizard Log". You can edit the defaults there.

If not, try running the installer with this argument: "-is:log <log_file>"