/*
- * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
Cache::iterator it;
it = cache.find(lang);
if (it != cache.end()) {
- debugs(83, 8, HERE << "Found template details in cache for language: " << lang);
+ debugs(83, 8, "Found template details in cache for language: " << lang);
return it->second;
}
errDetails = getCachedDetails(lang); // search in cache
if (!errDetails) { // Else try to load from disk
- debugs(83, 8, HERE << "Creating new ErrDetailList to read from disk");
+ debugs(83, 8, "Creating new ErrDetailList to read from disk");
errDetails = new ErrorDetailsList();
ErrorDetailFile detailTmpl(errDetails);
if (detailTmpl.loadFor(request.getRaw())) {
if (detailTmpl.language()) {
- debugs(83, 8, HERE << "Found details on disk for language " << detailTmpl.language());
+ debugs(83, 8, "Found details on disk for language " << detailTmpl.language());
errDetails->errLanguage = detailTmpl.language();
cacheDetails(errDetails);
}
// else try the default
if (theDefaultErrorDetails->getRecord(value, entry)) {
- debugs(83, 8, HERE << "Found default details record for error: " << GetErrorName(value));
+ debugs(83, 8, "Found default details record for error: " << GetErrorName(value));
return true;
}