swiched restart form os.Std* to ctx.Logger.Std*