/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#endif
if (!user)
- user = ::Format::QuoteUrlEncodeUsername(al->cache.extuser);
+ user = ::Format::QuoteUrlEncodeUsername(al->getExtUser());
#if USE_OPENSSL
if (!user)
#endif
if (!user)
- user = ::Format::QuoteUrlEncodeUsername(al->cache.rfc931);
+ user = ::Format::QuoteUrlEncodeUsername(al->getClientIdent());
if (user && !*user)
safe_free(user);
const SBuf method(al->getLogMethod());
- logfilePrintf(logfile, "%9ld.%03d %6ld %s %s/%03d %" PRId64 " " SQUIDSBUFPH " %s %s %s%s/%s %s%s",
+ logfilePrintf(logfile, "%9ld.%03d %6ld %s %s/%03d %" PRId64 " " SQUIDSBUFPH " " SQUIDSBUFPH " %s %s%s/%s %s%s",
(long int) current_time.tv_sec,
(int) current_time.tv_usec / 1000,
tvToMsec(al->cache.trTime),
al->http.code,
al->http.clientReplySz.messageTotal(),
SQUIDSBUFPRINT(method),
- al->url,
+ SQUIDSBUFPRINT(al->url),
user ? user : dash_str,
al->hier.ping.timedout ? "TIMEOUT_" : "",
hier_code_str[al->hier.code],