updated to log version with proper line endings