Sun Java System Access Manager 7.1 C API Reference

am_log_init()

Initializes the Logging Service.

Details

am_log_init() writes events to the logs on the Access Manager server.

Syntax

#include "am_log.h"
AM_EXPORT am_status_t
am_log_init(const am_properties_t log_init_params);

Parameters

This function takes the following parameter:

log_init_params

Properties used to initialize the Logging Service.


Note –

See am_properties_t for more information.


Returns

This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):

AM_SUCCESS

If log initialization is successful.

AM_*

If any error occurs, the type of error indicated by the status value.