How to enable debugging for the jetty and vde logs in Change?

Technote (FAQ)


Question

How to enable debugging for the jetty and vde logs in Change?

Answer

Sometimes it is necessary to enable debug in the jetty logs and vde.log for increased and detailed logging that may be required for troubleshooting. Following are the steps:
 
To enable debugging for Jetty logs:

To turn on debugging an extra parameter needs to be passed to Java when it is started. Adding the -DDEBUG flag can be done in the jetty.sh file in the JAVA_OPTIONS section. The jetty.sh file is located in <CS_HOME>/cs_app/bin. The following steps will enable debug mode in Jetty:

  1. Stop Telelogic Change
  2. Edit the file <CS_HOME>/cs_app/bin/jetty.sh
  3. Before the following line (which starts the Jetty server):
    ##
    RUN_CMD="$JAVA $JAVA_OPTIONS -cp $CLASSPATH org.mortbay.start.Main $CONFIGS"
    ##
    Add the following one:
    ##
    JAVA_OPTIONS="-DDEBUG $JAVA_OPTIONS"
    ##
  4. Rename the following logs in the directory <CS_HOME>/cs_app/logs/
    ###
    jetty.log
    cs_console.log
    velocity.log
  5. Also empty the pt.log located in <cs_home>/cs_app/webapps/synergy/WEB-INF/wsconfig/tmpdir

To enable debugging for the VDE logs:

To turn on debugging,

  1. Edit the <tds_home>/vde/conf/vde.prop file. Look for the following lines:
# Debug Level (Currently 0-9: 5 is NORMAL, 7 is VERBOSE, 9 is VERY VERBOSE)
vde.debug=5
vde.logfile=log/vde.log
vde.accesslogfile=log/access.log

Change the vde.debug to a value of 9

  1. Stop and restart the VDE
  2. Restart Telelogic Change.

Note: Remember to turn off debugging after obtaining the logs as leaving it on will result in increased log size.

4.4, 4.5, 4.6, 4.6.1, 4.7AnswerProduct versionPartner ContentInternal ContentCategoryReference IDAuthor

Historical Number

40195

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Change
General Information

Software version:

Version Independent

Operating system(s):

Platform Independent

Reference #:

1324322

Modified date:

2010-11-23

Translate my page

Machine Translation

Content navigation