Fix logging
Merge branch 'master' of https://github.com/claudiu/torch