Handle exceptions in emit(); removed import of json module; use logging.NOTSET instead of 0 in __init__().
Updated get_logs() views
Use CouchDb.client.iterview instead of view