line endings and logging :S