This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Debug log location
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2008
12:54 PM
Debug log location
Is there a way to have the debug log generated in some location other than in the temp\Ixxxxxxxx folder? I tried changing the Installer Debug Output fields (stderr and stdout) under Project > Config to a directory like /tmp/debug.txt like it suggests in the help docs, but it isn't creating the debug.txt file.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2008
10:48 PM
hi khansen,
you can specify whereever you want to print the stderr.logs and stdout.logs
Like you go the project----config(task)
and in stderr.log give a place like C:\stderr.log
or you can use $PROGRAMS FOLDER$\stderr.log and so on so forth.
And when it comes to installer debug.txt,you can specify as $USER_INSTALL_DIR$$/$myCustomisedDebug.txt.
Try it once pal and if you find anything misleading just revert back i will answer you if i know the solution at the earliest.
Regards,
james.
you can specify whereever you want to print the stderr.logs and stdout.logs
Like you go the project----config(task)
and in stderr.log give a place like C:\stderr.log
or you can use $PROGRAMS FOLDER$\stderr.log and so on so forth.
And when it comes to installer debug.txt,you can specify as $USER_INSTALL_DIR$$/$myCustomisedDebug.txt.
Try it once pal and if you find anything misleading just revert back i will answer you if i know the solution at the earliest.
Regards,
james.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2008
10:50 PM
hi,
i forgot one more thing if you want to install your debug logs in temp directory use some install anywhere variables like $TEMP_DIR$ or $TEMP$ which evaluates to Windows\Temp directory.
Just check once pal for the standard install anywhere variables.
james.
i forgot one more thing if you want to install your debug logs in temp directory use some install anywhere variables like $TEMP_DIR$ or $TEMP$ which evaluates to Windows\Temp directory.
Just check once pal for the standard install anywhere variables.
james.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 29, 2008
11:21 AM
I tried using IA variables, but they don't seem to work. Specifically, I tried using $SYSTEM_DRIVE_ROOT$ and $USER_INSTALL_DIR$. When I tried setting stderr and stdout to /tmp/debug.txt, it wouldn't create the debug.txt file unless C:\tmp existed.
I did find that if I set stderr and stdout to /debug.txt it will put the file in C:\. I think I will just stick with that for now.
I did find that if I set stderr and stdout to /debug.txt it will put the file in C:\. I think I will just stick with that for now.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 06, 2008
12:40 PM
Hi,
I think there is a bug in the path resolution. It seems like variables are not substituted.
A full qualified path seems to be ok (for debugging if you know your target machine).
If you want to put the output to your %TEMP% directory, try a relative path.
../../installer_debug_stdout.txt
does this for me.
I think there is a bug in the path resolution. It seems like variables are not substituted.
A full qualified path seems to be ok (for debugging if you know your target machine).
If you want to put the output to your %TEMP% directory, try a relative path.
../../installer_debug_stdout.txt
does this for me.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2008
03:48 PM
Variables are not substituted for this option because it is used before the jvm is called and the jvm does the resolution of IA Strings... AT least that is what support told me. This feature is almost useless because of this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
03:23 PM
I tried the ../../filename trick, and it worked on Windows, put it in c:\Documents and Settings\me\Local Settings\Temp\my_prod_install.err. But on unix the file went in the root directory (/), which I don't really want to litter. There must be a different hierarchy on unix vs. windows. What a pain! Too bad the feature, as the previous commenter noted, is nearly useless as a result of not honoring IA variables.