refactor loggings and add new tornado application options