fix creating logs dir when logging to console. fix executor misses killTask match case.