changing logging handlers