|
void | logsys_system_fini (void) |
| logsys_system_fini More...
|
|
int | _logsys_system_setup (const char *mainsystem, unsigned int mode, int syslog_facility, int syslog_priority) |
| _logsys_system_setup More...
|
|
int | _logsys_subsys_create (const char *subsys, const char *filename) |
| _logsys_subsys_create More...
|
|
int | _logsys_config_subsys_get (const char *subsys) |
| _logsys_config_subsys_get More...
|
|
int | logsys_config_mode_set (const char *subsys, unsigned int mode) |
| logsys_config_mode_set More...
|
|
unsigned int | logsys_config_mode_get (const char *subsys) |
| logsys_config_mode_get More...
|
|
int | logsys_config_file_set (const char *subsys, const char **error_string, const char *file) |
| to close a logfile, just invoke this function with a NULL file or if you want to change logfile, the old one will be closed for you. More...
|
|
int | logsys_format_set (const char *format) |
| configuration bits that can only be done for the whole system More...
|
|
char * | logsys_format_get (void) |
| logsys_format_get More...
|
|
int | logsys_config_syslog_facility_set (const char *subsys, unsigned int facility) |
| per system/subsystem settings. More...
|
|
int | logsys_config_syslog_priority_set (const char *subsys, unsigned int priority) |
| logsys_config_syslog_priority_set More...
|
|
int | logsys_config_logfile_priority_set (const char *subsys, unsigned int priority) |
| logsys_config_logfile_priority_set More...
|
|
void | logsys_config_apply (void) |
| logsys_config_apply More...
|
|
int | logsys_config_debug_set (const char *subsys, unsigned int debug) |
| enabling debug, disable message priority filtering. More...
|
|
int | logsys_priority_id_get (const char *name) |
| logsys_priority_id_get More...
|
|
int | logsys_thread_start (void) |
| logsys_thread_start More...
|
|
void | logsys_blackbox_set (int enable) |
|
void | logsys_blackbox_prefork (void) |
|
void | logsys_blackbox_postfork (void) |
|
cs_error_t | logsys_reopen_log_files (void) |
|
int logsys_config_syslog_facility_set |
( |
const char * |
subsys, |
|
|
unsigned int |
facility |
|
) |
| |
per system/subsystem settings.
NOTE: once a subsystem is created and configured, changing the default does NOT affect the subsystems.
Pass a NULL subsystem to change them all
- Parameters
-
- Returns
Definition at line 655 of file logsys.c.