Simple logger writed on flask using RethinkDB