cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tjcemc
Level 4

System.out.println and logEvent - where is the output??

I have a log file defined for my project. In the Advanced Properties section, I set the Log File property to myDir\install.log

During the "PreInstall" sequences of my project, I have some wizard action java classes that do System.out.prinltln's and also do some logEvent()'s. Since the log file I defined is relative to the install location AND IS NOT CREATED YET SINCE I AM IN THE PRE-INSTALL part of the installation, where does this info go? I need it.

I have been told InstallShield places this info in a temp file somewhere - I looked but NO file could be found on my machine.

The big issue for me is that my installer fails sometimes in a PreInstall step and never gets to the Install sequence, so the install.log file is never created....and therefore, I CANNOT see get my log information on what happened.

Thanks for any info.
Labels (1)
0 Kudos
(2) Replies
rmackay
Level 7

Have you tried running with the -is:javaconsole option so that you can get the debug console window to come up? That should contain your System.out.println messages.
0 Kudos
tjcemc
Level 4

Perfect! Thank you.
0 Kudos