1 Title: Escaping several unwanted chars from incoming log messages
8 There are several kind of chars which are not wanted to be included
9 in log messages. For example the null byte is nothing to be expected
10 in log messages. We simply remove those chars now from the log messages.
12 Single log lines do not contain new line chars (\n), since they are
13 already processed as single lines. But snmp traps might contain those
14 chars, which might break e.g. processing the log history (resulting
15 in error messages "Invalid line XX in history file..."). The newline
16 chars are now simply removed from the incoming data.
17 This might change incoming values, but this seems to be better than
18 before. In future, when trap the parsing/processing code is extended
19 by single value matching etc., we might be able to clean this up.