Check if the logger is able to write to the log file