added db_index=True for Log.timestamp to speed up stats queries