diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-01-14 16:53:36 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-01-14 16:53:36 +0000 |
commit | a227b3f8a8704188ea460f7550e50fbfab3d5221 (patch) | |
tree | 654b1c01b6fd2d1c171c5c235438fdbf033e53ef /comsat/comsat.c | |
parent | 1413c3ce86580156df4b68941eb2a1f77eeab7be (diff) | |
download | mailutils-a227b3f8a8704188ea460f7550e50fbfab3d5221.tar.gz mailutils-a227b3f8a8704188ea460f7550e50fbfab3d5221.tar.bz2 |
* include/mailutils/gocs.h (log_facility): Remove.
* include/mailutils/syslog.h (mu_log_facility, mu_log_tag): New
declarations.
(MU_LOG_TAG): New define.
* mailbox/gocs.c (mu_gocs_logging_init): Set mu_log_tag.
* mailbox/syslog.c (mu_log_facility, mu_log_tag): New variables.
* libcfg/common.c (mu_logging_param): New statement `tag'.
* comsat/comsat.c, imap4d/imap4d.c, imap4d/login.c,
maidag/maidag.c, mail.local/main.c, pop3d/pop3d.c, pop3d/user.c,
sieve/sieve.c: Use MU_LOG_TAG in openlog, and
program_version in mu_m_server_create calls.
Diffstat (limited to 'comsat/comsat.c')
-rw-r--r-- | comsat/comsat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c index 51725d773..7f09f8ce4 100644 --- a/comsat/comsat.c +++ b/comsat/comsat.c @@ -570,7 +570,7 @@ main (int argc, char **argv) comsat_init (); mu_acl_cfg_init (); mu_m_server_cfg_init (); - mu_m_server_create (&server, "GNU comsat"); + mu_m_server_create (&server, program_version); mu_m_server_set_type (server, MU_IP_UDP); mu_m_server_set_conn (server, comsat_connection); mu_m_server_set_prefork (server, comsat_prefork); @@ -618,7 +618,7 @@ main (int argc, char **argv) } /* Set up error messaging */ - openlog ("gnu-comsat", LOG_PID, log_facility); + openlog (MU_LOG_TAG (), LOG_PID, mu_log_facility); { mu_debug_t debug; |