making ray logger less MIC dependent