Sun Java System Access Manager 7 2005Q4 C API Reference

am_log_log_record()

Logs the given log record to the given log_name on the Access Manager.

am_log_record_* interfaces can be used to set information in the log record.

Syntax

#include "am_log.h"
 AM_EXPORT am_status_t am_log_log_record
    (am_log_record_t record, const char *log_name, const char *logged_by_token_id);
        Start here

Parameters

This function takes the following parameters:

record

The log record.

log_name

The name of the log module to log the log record to

logged_by_token_id

A valid SSO token ID required to access the logging service on Access Manager.

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If the log operation was successful

AM_*

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