merged log.py in static-rss