Add output to file and set the decorator to output to file instead of to logger