Check if r_h exists berofe changing the logging level