/*
 * Change the debug logging level of the management software
 */
void wbem::server::BaseServerFactory::setDebugLogging(int logSetting)
	throw (framework::Exception)
{
	LogEnterExit logging(__FUNCTION__, __FILE__, __LINE__);

	int rc = nvm_toggle_debug_logging(logSetting);
	if (rc != NVM_SUCCESS)
	{
		throw exception::NvmExceptionLibError(rc);
	}
}
Exemple #2
0
int LibWrapper::toggleDebugLogging(const NVM_BOOL enabled) const
{
	LogEnterExit(__FUNCTION__, __FILE__, __LINE__);
	return nvm_toggle_debug_logging(enabled);
}