modify logging #3