SeattleTestbed / attic

ARCHIVAL: Full mirror of SeattleTestbed's SVN in early 2014. We use GitHub since!
MIT License
0 stars 1 forks source link

nodemanager should redirect libraries' calls to log into servicelogger #1399

Closed choksi81 closed 10 years ago

choksi81 commented 10 years ago

The nodemanager uses a good number of Repy libraries which have no better way of emitting debug information than calling log(). The nodemanager should overwrite log() so as to redirect that information into the nodemanager log file.

I'm attaching a patch to achieve this for Affix, i.e. I replace the log{) function before Affixes are imported in nmmain.py, and shove log's arguments into servicelogger.log() instead.

choksi81 commented 10 years ago

Attachments: https://github.com/SeattleTestbed/attic/blob/master/TICKET_ATTACHMENTS/redirect-log-to-servicelogger.patch