fixed log writer