/*
- * $Id: cache_cf.cc,v 1.61 1996/07/18 20:25:37 wessels Exp $
+ * $Id: cache_cf.cc,v 1.62 1996/07/22 17:19:50 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
char *hierarchy;
char *store;
int rotateNumber;
+ int log_fqdn;
} Log;
char *adminEmail;
char *effectiveUser;
else if (!strcmp(token, "client_netmask"))
parseAddressLine(&Config.Addrs.client_netmask);
+ else if (!strcmp(token, "log_fqdn"))
+ parseOnOff(&Config.Log.log_fqdn);
+
else if (!strcmp(token, "bind_address"))
parseAddressLine(&Config.Addrs.tcp_incoming);
sprintf(ForwardedBy, "Forwarded: by http://%s:%d/",
getMyHostname(), getHttpPortNum());
do_redirect = getRedirectProgram()? 1 : 0;
+ opt_log_fqdn = Config.Log.log_fqdn;
#if !ALLOW_HOT_CACHE
/*
- * $Id: main.cc,v 1.53 1996/07/22 16:40:27 wessels Exp $
+ * $Id: main.cc,v 1.54 1996/07/22 17:19:51 wessels Exp $
*
* DEBUG: section 1 Startup and Main Loop
* AUTHOR: Harvest Derived
char appname[] = "squid";
char localhost[] = "127.0.0.1";
struct in_addr local_addr;
+int opt_log_fqdn = 1;
/* for error reporting from xmalloc and friends */
extern void (*failure_notify) _PARAMS((char *));
/*
- * $Id: squid.h,v 1.31 1996/07/22 16:40:29 wessels Exp $
+ * $Id: squid.h,v 1.32 1996/07/22 17:19:52 wessels Exp $
*
* AUTHOR: Duane Wessels
*
extern int opt_reload_hit_only; /* main.c */
extern int opt_dns_tests; /* main.c */
extern int opt_foreground_rebuild; /* main.c */
+extern int opt_log_fqdn; /* main.c */
extern int vhost_mode; /* main.c */
extern char version_string[]; /* main.c */
extern char appname[]; /* main.c */