changed log write locations