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: Logging in IA
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
‎Oct 29, 2008
05:51 AM
Logging in IA
Default log output which IA generates only contains error strings or system.out.print()
1. What is the best way create logs of your installation?
2. I tried CustomError class.
In This class...Is there any way to get timestamp , error level, etc ?
or i need to use some standard java loggers?
3. Where is the Uninstall log created?
Thanks.
1. What is the best way create logs of your installation?
2. I tried CustomError class.
In This class...Is there any way to get timestamp , error level, etc ?
or i need to use some standard java loggers?
3. Where is the Uninstall log created?
Thanks.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
10:04 AM
any clue on this?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2009
11:16 AM
qqqqqq, Did you ever get a solution for this? I need a log file for the same reason that you do, to debug some custom java code. How did you handle this in general? any help would be appreciated. Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2009
11:35 AM
1. Normally the standard IA logs should be enough.
2. The error level is set by the programmer, but you cannot set a timestamp (as you don't have it in the standard IA log either).
3. AFAIK there is no uninstallation log (somewhat obvious, as the uninstall is removing files, not installing new ones! 🙂
2. The error level is set by the programmer, but you cannot set a timestamp (as you don't have it in the standard IA log either).
3. AFAIK there is no uninstallation log (somewhat obvious, as the uninstall is removing files, not installing new ones! 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2009
11:42 AM
1. Normally the standard IA logs should be enough.
Where are the standard IA logs during the uninstall?
The problem is that I have some custom java code that is being called and I can not tell if it is blowing up because it cannot find the uninstall.jar file which contains my custom code or if it is blowing up inside the custom code. This is the reason I asked for troublshooting tips. or advise on how other have created logging or log files. surely I am not the first person that needs this information at uninstall time.
Where are the standard IA logs during the uninstall?
The problem is that I have some custom java code that is being called and I can not tell if it is blowing up because it cannot find the uninstall.jar file which contains my custom code or if it is blowing up inside the custom code. This is the reason I asked for troublshooting tips. or advise on how other have created logging or log files. surely I am not the first person that needs this information at uninstall time.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2009
02:17 PM
Is your code pre or post uninstall?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2009
12:47 AM
Frenchy wrote:
qqqqqq, Did you ever get a solution for this? I need a log file for the same reason that you do, to debug some custom java code. How did you handle this in general? any help would be appreciated. Thanks
hi Frenchy,
I am using the CustomError class for logging during installation..
About the uninstaller logs... you can use system.out.println().. and ... launch uninstaller.exe + PRESS CTRL button...
you can see the those println in a command promt..
this is best i found...
let us know, if you have any better option..?