HP-UX AAA Server A.08.02.10 Administrator's Guide HP-UX 11i v3 (T1428-90093, November 2013)
• Use LOG_CRIT for critical conditions
• Use LOG_ERR for error conditions
• Use LOG_WARNING for warning conditions
• Use LOG_NOTICE for normal but signification conditions
• Use LOG_INFO for informational conditions
NOTE: To use the above log levels, you must include syslog.h in your program.
format A printf-style format string.
arg Arguments to replace values in the format string. For more information, see the printf(3)
manpage.
NOTE: If the arguments are insufficient for the format, the behavior can be unexpected.
Return
This API returns one of the following values:
0 If the message is logged.
1 If the message is queued.
-1 If the message is not logged or queued.
int sdk_log_debug()
int sdk_log_debug (int level, const char *format, /* [arg,], */ ...)
Usage
Logs the provided debug log message in the HP-UX AAA Server debug log file located at /var/
opt/aaa/logs/radius.debug.
Input
level It can be one of the HP-UX AAA Server debug levels. Table 119 lists the HP-UX AAA
Server debug levels.
Table 119 HP-UX AAA Server Debug Levels
Level of InformationDebug Level
Minimal information1
2
• Level 1 information
and
• High-level FSM output and limited function
tracing
3
• Level 2 information
and
• Full function tracing
4
• Level 3 information
and
• Low-level FSM and configuration file output
format A printf-style format string.
arg Arguments to replace values in the format string. For more information, see the printf(3)
manpage.
NOTE: If the arguments are insufficient for the format, the behavior can be unexpected.
APIs in the HP-UX AAA Server SDK 437