#include <syslog.h>
Go to the source code of this file.
Functions | |
int | lcas_log (int prty, char *fmt,...) |
log information | |
int | lcas_log_debug (int debug_lvl, char *fmt,...) |
Print debugging information. | |
int | lcas_log_time (int prty, char *fmt,...) |
log information with timestamp | |
int | lcas_log_a_string (int prty, char *fmt, char *the_string) |
log information | |
int | lcas_log_a_string_debug (int debug_lvl, char *fmt, char *the_string) |
Print debugging information. | |
int | lcas_get_debug_level () |
Retrieve the debug_level. |
Definition in file lcas_log.h.
|
Retrieve the debug_level.
Definition at line 471 of file lcas_log.c. References debug_level. Referenced by lcas_check_gacl(). |
|
log information This function does the logging for the LCAS and its plugins. Syslog() is called with the specified priority. No syslog() is done if the priority is 0.
Definition at line 181 of file lcas_log.c. References extra_logstr, lcas_logfp, logging_syslog, logging_usrlog, and MAX_LOG_BUFFER_SIZE. Referenced by clean_plugin_list(), get_procsymbol(), lcas_check_gacl(), lcas_cleanVoData(), lcas_createVoData(), lcas_db_clean(), lcas_db_fill_entry(), lcas_db_parse_line(), lcas_db_parse_pair(), lcas_db_parse_string(), lcas_db_read(), lcas_deleteVoData(), lcas_gacl_add_dn(), lcas_gacl_add_vomsdata(), lcas_get_fabric_authorization(), lcas_init_and_logfile(), lcas_log_debug(), lcas_log_open(), lcas_stringVoData(), lcas_term(), parse_args_plugin(), plugin_confirm_authorization(), plugin_initialize(), and PluginInit(). |
|
log information This function logs information for LCAS and its plugins. Syslog() is called with the specified priority. No syslog() is done if the priority is 0.
Definition at line 250 of file lcas_log.c. References extra_logstr, lcas_logfp, logging_syslog, logging_usrlog, and MAX_LOG_BUFFER_SIZE. Referenced by lcas_log_a_string_debug(). |
|
Print debugging information. This function prints debugging information (using lcas_log with priority 0) provided debug_lvl <= DEBUG_LEVEL (default is 0).
Definition at line 347 of file lcas_log.c. References debug_level, and lcas_log_a_string(). |
|
Print debugging information. This function prints debugging information (using lcas_log with priority 0) provided debug_lvl <= DEBUG_LEVEL (default is 0).
Definition at line 296 of file lcas_log.c. References debug_level, lcas_log(), and MAX_LOG_BUFFER_SIZE. Referenced by clean_plugin_list(), lcas_check_gacl(), lcas_db_clean_list(), lcas_db_fill_entry(), lcas_db_parse_line(), lcas_db_read_entries(), lcas_deleteVoData(), lcas_gacl_add_dn(), lcas_gacl_add_vomsdata(), lcas_get_fabric_authorization(), lcas_init_and_logfile(), lcas_printVoData(), lcas_term(), parse_args_plugin(), plugin_confirm_authorization(), plugin_initialize(), plugin_terminate(), PluginInit(), and print_lcas_plugin(). |
|
log information with timestamp This function logs information with a timestamp for LCAS and its plugins. Syslog() is called with the specified priority. No syslog() is done if the priority is 0.
Definition at line 392 of file lcas_log.c. References extra_logstr, lcas_logfp, logging_syslog, logging_usrlog, and MAX_LOG_BUFFER_SIZE. Referenced by lcas_get_fabric_authorization(), lcas_init_and_logfile(), and lcas_term(). |