Sun Java System Access Manager 7.1 C API Reference

am_log_record_add_loginfo()

Updates a log record with additional information.

Syntax

#include "am_log.h"
AM_EXPORT am_status_t
am_log_record_add_loginfo(am_log_record_t record,
                          const char *key,
                          const char *value);

Parameters

This function takes the following parameters:

record

A log record pointer.

key

Pointer to the log field being updated.


Note –

See Chapter 6, Access Manager Logging and Java Enterprise System Monitoring Framework, in Sun Java System Access Manager 7.1 Technical Overview for information regarding events that are logged and the log fields to which they are written.


value

Pointer to the value with which the log field will be modified.

Returns

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