NAMD / pypelinin

Python library to distribute jobs and pipelines among a cluster
3 stars 5 forks source link

Improve log messages #23

Open turicas opened 11 years ago

turicas commented 11 years ago

Currently we have lots of log messages as INFO, but some of them should be DEBUG (and we should have some things that aren't logged as DEBUG too). We need to improve it to facilitate the process of debugging and filtering information about the processes that are running.

turicas commented 11 years ago

One example is when a job finishes, it should log at least two messages: one for saying that the job is finished (which job id, duration etc.) and another with the results returned by the worker. The first one should be something like INFO and the another one DEBUG.

turicas commented 11 years ago

Related to #25.

We should consider using syslog (Python has a standard library to deal with it).