stupid bug in logging command: instead of l.error() i used l.ERROR which is an int and not a function, hence the weird error message. Good thing that joblib provides the point of error, not like multiprocessing used directly.