Modify logging format