modify logging