Sun Java System Access Manager 7 2005Q4 C API Reference

am_log_set_module_level()

Sets the logging level for the specified module.

Syntax

#include "am_log.h"
AM_EXPORT am_log_level_t
am_log_set_module_level(am_log_module_id_t moduleID,
               am_log_level_t level);

Parameters

This function takes the following parameters:

moduleID

The ID of the module to be modified.

level

The new logging level for the module.

Returns

This function returns am_log_level_t with one of the following values:

The previous logging level of the module.

When the logging level is set properly.

LOG_NONE

If the specified module is invalid.