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
- :
- System.out.println()
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
‎Jul 31, 2013
05:23 PM
System.out.println()
I'm trying to output debug messages and other status updates of my custom code but System.out.println() does not seem to write to the console. My installer is a generic Unix console installer. Is there something that I might me missing to have my System.out.println() statement output to the console? Where might they be ending up?
Thanks
Thanks
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 31, 2013
05:35 PM
I have found the Installer Debug Output setting that allows me to send the output to console. my follow up question: Is there away to toggle on and off stdout to the console during the install? perhaps a variable that can be set?
Thanks
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2013
01:21 AM
Hi,
Yes there is a option for that.
You can use LAX_DEBUG=true to print the debug output to console, to get the toggle effect, but then you have to remove the stdout settings that you have done to get the output in console.
Steps to display the debug output in console:
1. Open terminal.
2. Type export LAX_DEBUG=true
3. launch the installer.
Note:
If LAX_DEBUG is true and you want to switch off the debugging mode use export LAX_DEBUG to blank(ie export LAX_DEBUG=).
Regards,
Utsab Karmakar
Yes there is a option for that.
You can use LAX_DEBUG=true to print the debug output to console, to get the toggle effect, but then you have to remove the stdout settings that you have done to get the output in console.
Steps to display the debug output in console:
1. Open terminal.
2. Type export LAX_DEBUG=true
3. launch the installer.
Note:
If LAX_DEBUG is true and you want to switch off the debugging mode use export LAX_DEBUG to blank(ie export LAX_DEBUG=).
Regards,
Utsab Karmakar
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2013
09:39 AM
Am I able to set the LAX_DEBUG env variable during runtime for debug statements to go to the console or does this need to be set prior to launching the installer?
Thanks
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 14, 2013
02:19 AM
Hi,
Yes, you have to set it before launching the installer.
Thanks,
Utsab Karmakar
Yes, you have to set it before launching the installer.
Thanks,
Utsab Karmakar
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)