Fixing log_type read from config