Enabling logging for Node.js hooks

To help with troubleshooting, enable logging of the IBM® Engineering Workflow Management (EWM) Git Integration Toolkit Node.js hooks.

About this task

You must set the trace level in pre-receive, post-receive, ref-update, and ref-updated files in the hooks directory of every Git repository. The default trace level is 1.

Procedure

  1. Open one of the hook files in an editor.
  2. Find the line #export RTC_GIT_SERVER_TRACE_LEVEL=1.
  3. Uncomment the line and set the trace level to one of the following values:
    Value Logging level
    0 No logging
    1 Errors
    2 Warnings
    3 Informational
    4 Verbose