Menu

Logging on dispynode

Help
2014-09-29
2014-09-30
  • Irfan Mulic

    Irfan Mulic - 2014-09-29

    Hi, I am new to dispy trying to troubleshoot why my jobs are exiting so fast.

    I was looking but couldn't find a reference to logging from within the cluster.

    Is there a way to log some information about program state on cluster node the node executing a job (dispynode) ?

    Thanks.

     
  • Giridhar Pemmasani

    If you run dispynode with debug enabled (with 'dispynode.py -d'), you will get debug information. However, if the job fails (e.g., due to an exception), that log may not indicate the issue; instead, look at job's attributes 'stderr', 'exception'. The example program on the project page shows how to do this. 'DispyJob' section on dispy has more details.

     
  • Irfan Mulic

    Irfan Mulic - 2014-09-30

    Thanks. Logging works using stderr.

     

Log in to post a comment.