Switched log writer to BuffereredWriter