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.
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.
About this task
- Open one of the hook files in an editor.
Find the line
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