Fixed logging after job scheduling