Tutorial bien corto y entretenido sobre el módulo logging de python, más simple y ordenado que usar prints :) http://inventwithpython.com/blog/2012/04/06/stop-using-print-for-debugging-a-5-minute-quickstart-guide-to-pythons-logging-module/ -- fisa - Juan Pedro Fisanotti