Log_info checks if it is enabled.