Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 6 Config UI : Enabling Debug Logging for Config UI

Enabling Debug Logging for Config UI
This section explains the steps to enable the debug level logging for the Config UI.
To enable the logging, follow these steps:
Create Properties File
Define a log4j.properties properties file as follows:
1.
Navigate to the ASG_HOME\be\5.1\lib\ext\tpcl\apache directory.
2.
Logging to stdout
To send the logging messages to the stdout, define the following properties in the log4j.properties file. To set the properties, do the following:
1.
Open the log4j.properties file in a text editor.
2.
3.
Logging to a File
To redirect the logging messages to a file instead of sending them to stdout, do the following:
1.
Edit the log4j.properties file in a text editor.
2.
3.
Use Properties File in the TRA File
Use the log4j.properties in the TRA file of the Config UI after you have added the properties. To add the log4j.properties file in the TRA file, follow these steps:
1.
Navigate to the ASG_HOME/bin directory.
2.
Open the asg-configui.tra file for editing.
3.
   java.extended.properties=-server -Xmx256m -Dlog4j.debug    -Dlog4j.configuration=log4j.properties
4.
Configure Directory for Log Files
To configure the directory to store the log files, do the following:
1.
Navigate to the ASG_HOME/bin directory.
2.
Open the asg-configui.tra file for editing.
3.
   java.property.com.tibco.asg.designtime.configui.logDir=path_to_log_directory
4.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved