diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-01 16:26:39 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-01 16:26:39 +0200 |
commit | 8ccba8ebfaca85017eb125c45b0f16ae358358a7 (patch) | |
tree | c359b684bbc2ef0f0e60c190628fe4ab39599055 /src/fastd.h | |
parent | 8e589f3a3ad74dd4409632222c589aea7c0939a5 (diff) | |
download | fastd-8ccba8ebfaca85017eb125c45b0f16ae358358a7.tar fastd-8ccba8ebfaca85017eb125c45b0f16ae358358a7.zip |
Remove support for log files
syslog/journald do a much better job at organizing logs, with the additional
advantage of proper log rotation.
If someone really wants to have a log file for fastd, they can just redirect
stderr.
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/fastd.h b/src/fastd.h index 3bb4689..7e04132 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -84,20 +84,6 @@ union fastd_peer_address { struct sockaddr_in6 in6; }; -struct fastd_log_file { - fastd_log_file_t *next; - - fastd_loglevel_t level; - char *filename; -}; - -struct fastd_log_fd { - fastd_log_fd_t *next; - - fastd_log_file_t *config; - int fd; -}; - struct fastd_bind_address { fastd_bind_address_t *next; fastd_peer_address_t addr; @@ -145,7 +131,6 @@ struct fastd_config { fastd_loglevel_t log_stderr_level; fastd_loglevel_t log_syslog_level; char *log_syslog_ident; - fastd_log_file_t *log_files; unsigned maintenance_interval; unsigned keepalive_timeout; @@ -239,7 +224,6 @@ struct fastd_config { struct fastd_context { bool log_initialized; - fastd_log_fd_t *log_files; char *ifname; |