From e26572056ec3cdb0d2b70e1a3da699293a2c5cbe Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Fri, 1 Aug 1997 14:47:01 +0000 Subject: [PATCH] Remove logfile stuff. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2663 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kdc/config.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/kdc/config.c b/kdc/config.c index f40b06e88..d4dc8fe12 100644 --- a/kdc/config.c +++ b/kdc/config.c @@ -42,7 +42,6 @@ RCSID("$Id$"); static char *config_file; -char *logfile; int loglevel = -2; int require_preauth = 1; char *keyfile; @@ -58,10 +57,6 @@ static struct getargs args[] = { "config-file", 'c', arg_string, &config_file, "location of config file", "file" }, - { - "log-file", 'l', arg_string, &logfile, - "location of log file", "file" - }, { "log-level", 0, arg_integer, &loglevel, "level of logging" @@ -109,15 +104,6 @@ configure(int argc, char **argv) if(krb5_config_parse_file(config_file, &cf)) goto end; - if(logfile == NULL){ - p = krb5_config_get_string (cf, - "kdc", - "log-file", - NULL); - if(p) - logfile = strdup(p); - } - if(loglevel == -2){ p = krb5_config_get_string (cf, "kdc", @@ -162,8 +148,6 @@ configure(int argc, char **argv) krb5_config_file_free (cf); end: - if(logfile == NULL) - logfile = "kdc.log"; if(loglevel == -2) loglevel = 0; if(require_preauth == -1)