log message formatting

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2609 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-05-18 18:04:54 +00:00
parent e697b7a3ce
commit 4c270cfe74

View file

@ -277,7 +277,7 @@ class Cache (linkcheck.lock.AssertLock):
output = []
for h in headers.getallmatchingheaders("Set-Cookie"):
output.append(h)
linkcheck.log.debug(linkcheck.LOG_CACHE, "Store Cookie %s", h)
linkcheck.log.debug(linkcheck.LOG_CACHE, "Store cookie %s", h)
c = self.cookies.setdefault(host, Cookie.SimpleCookie())
c.load(h)
return output
@ -291,7 +291,7 @@ class Cache (linkcheck.lock.AssertLock):
self.acquire()
try:
linkcheck.log.debug(linkcheck.LOG_CACHE,
"Get Cookie %s (%s)", host, path)
"Get cookies for host %r path %r", host, path)
if not self.cookies.has_key(host):
return []
cookievals = []