Updated rtcheck for Logname