modify the logger