changing th eway of logging