Fixes in scheduler logging, get_fullname and jinja environment