Tor
0.4.7.0-alpha-dev
|
Data Fields | |
struct logfile_t * | next |
char * | filename |
int | fd |
int | seems_dead |
int | needs_close |
int | is_temporary |
int | is_syslog |
log_callback | callback |
log_severity_list_t * | severities |
log_callback callback |
If not NULL, send messages to this function.
Definition at line 77 of file log.c.
Referenced by change_callback_log_severity().
int fd |
fd to receive log messages, or -1 for none.
Definition at line 72 of file log.c.
Referenced by close_log_sigsafe(), flush_log_messages_from_startup(), log_tor_version(), logfile_wants_message(), logs_flush_sigsafe(), tor_log_update_sigsafe_err_fds(), and truncate_logs().
char* filename |
int is_syslog |
Boolean: send messages to syslog.
Definition at line 76 of file log.c.
Referenced by close_log(), and logfile_deliver().
int is_temporary |
Boolean: close after initializing logging subsystem.
Definition at line 75 of file log.c.
Referenced by log_tor_version(), mark_logs_temp(), rollback_log_changes(), and tor_log_update_sigsafe_err_fds().
int needs_close |
Boolean: true if the stream gets closed on shutdown.
Definition at line 74 of file log.c.
Referenced by add_file_log(), close_log(), close_log_sigsafe(), log_tor_version(), and logs_flush_sigsafe().
struct logfile_t* next |
Next logfile_t in the linked list.
Definition at line 70 of file log.c.
Referenced by change_callback_log_severity(), close_temp_logs(), delete_log(), flush_log_messages_from_startup(), get_min_log_level(), logs_flush_sigsafe(), logs_free_all(), mark_logs_temp(), rollback_log_changes(), switch_logs_debug(), tor_log_update_sigsafe_err_fds(), and truncate_logs().
int seems_dead |
Boolean: true if the stream seems to be kaput.
Definition at line 73 of file log.c.
Referenced by logfile_wants_message(), and tor_log_update_sigsafe_err_fds().
log_severity_list_t* severities |
Which severity of messages should we log for each log domain?
Definition at line 78 of file log.c.
Referenced by change_callback_log_severity(), get_min_log_level(), log_free_(), logfile_wants_message(), switch_logs_debug(), and tor_log_update_sigsafe_err_fds().