RTC SCM Git: Are there ways to customise python scripts in post-receive git hooks (eg AssociateWorkitem.py) to output debug information to file?
There are python files that is developed as part of IBM RTC git integration, (eg AssociateWorkitem.py and ValidatePush.py) that are run as post receive git hooks.
Are there ways to customise these files in order to print debugging messages to file? (messages such as whether the scripts are correctly run etc) We tried adding: export DEBUG_PYT=true to post-receive, though that would display the information on the command line, and doesn't allow for it to be outputted to file. |
2 answers
Thanks George!
We were able to output logs using Python's standard output function.
After this
Comments
George Harada
commented Dec 26 '16, 9:36 p.m.
Josako-san,
|
Created RFE since it is not possible:
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=93368 |