Made logging go to paragraph element