added logsource pointer to line data
added class NewlineFilter