#include <syslog.h>
Go to the source code of this file.
Functions | |
int | lcmaps_log (int prty, char *fmt,...) |
log information | |
int | lcmaps_log_debug (int debug_lvl, char *fmt,...) |
Print debugging information. | |
int | lcmaps_log_time (int prty, char *fmt,...) |
log information with timestamp | |
int | lcmaps_log_a_string (int prty, char *fmt, char *the_string) |
log information | |
int | lcmaps_log_a_string_debug (int debug_lvl, char *fmt, char *the_string) |
Print debugging information. |
Definition in file lcmaps_log.h.
|
|
log information This function logs information for LCMAPS and its plugins. Syslog() is called with the specified priority. No syslog() is done if the priority is 0.
Definition at line 293 of file lcmaps_log.c. References extra_logstr, lcmaps_logfp, logging_syslog, logging_usrlog, and MAX_LOG_BUFFER_SIZE. Referenced by lcmaps_log_a_string_debug(). |
|
Print debugging information. This function prints debugging information (using lcmaps_log with priority 0) provided debug_lvl <= DEBUG_LEVEL (default is 0).
Definition at line 408 of file lcmaps_log.c. References debug_level, and lcmaps_log_a_string(). Referenced by lcmaps_run_and_return_poolindex(), lcmaps_run_with_fqans_and_return_account(), and printCredData(). |
|
Print debugging information. This function prints debugging information (using lcmaps_log with priority 0) provided debug_lvl <= DEBUG_LEVEL (default is 0).
Definition at line 357 of file lcmaps_log.c. References debug_level, lcmaps_log(), and MAX_LOG_BUFFER_SIZE. Referenced by check_policies_for_recursion(), clean_plugin_list(), construct_argv(), free_plugins(), get_plugins(), getPluginNameAndArgs(), lcmaps_add_username_to_ldapgroup(), lcmaps_db_clean_list(), lcmaps_db_fill_entry(), lcmaps_db_parse_line(), lcmaps_db_read_entries(), lcmaps_deleteVoData(), lcmaps_deleteVoMapping(), lcmaps_extractRunVars(), lcmaps_get_gidlist(), lcmaps_get_jobrep_config(), lcmaps_get_ldap_pw(), lcmaps_init_and_logfile(), lcmaps_printVoData(), lcmaps_printVoMapping(), lcmaps_run_and_return_poolindex(), lcmaps_run_and_return_username(), lcmaps_run_with_fqans_and_return_account(), lcmaps_run_without_credentials_and_return_username(), lcmaps_set_pgid(), lcmaps_setRunVars(), parse_args_plugin(), pdl_next_plugin(), plugin_initialize(), plugin_introspect(), plugin_run(), plugin_terminate(), PluginInit(), print_lcmaps_plugin(), printCredData(), resetCredentialData(), run_cmd(), runEvaluationManager(), runPlugin(), runPluginManager(), show_policies(), show_rules(), show_variables(), startPluginManager(), stopEvaluationManager(), and stopPluginManager(). |
|
log information with timestamp This function logs information with a timestamp for LCMAPS and its plugins. Syslog() is called with the specified priority. No syslog() is done if the priority is 0.
Definition at line 484 of file lcmaps_log.c. References extra_logstr, lcmaps_logfp, logging_syslog, logging_usrlog, and MAX_LOG_BUFFER_SIZE. Referenced by lcmaps_init_and_logfile(), lcmaps_run(), lcmaps_run_and_return_poolindex(), lcmaps_run_and_return_username(), lcmaps_run_with_fqans_and_return_account(), lcmaps_run_without_credentials_and_return_username(), lcmaps_term(), runPlugin(), and startPluginManager(). |