Updated Write-Log for issue #226.