Files
postgres-web/tools/search/crawler/lib/log.py
Magnus Hagander b8a2015be2 New set of web search crawlers and infrastructure
Replaces the old search code with something that's not quite as much
spaghetti (e.g. not evolved over too much time), and more stable (actual
error handling instead of random crashes)

Crawlers are now also multithreaded to deal with higher latency to some
sites.
2012-01-21 15:27:06 +01:00

7 lines
168 B
Python

# Yes, this is trivial, but we might want to put something
# more here in the future :)
import datetime
def log(msg):
print "%s: %s" % (datetime.datetime.now(), msg)