Some programs (e.g. strongswan, fetchmail) or standard libs (musl) append a '\n' to every log line. Metalog substituted every control character (0x7F and 0x0 to 0x1f) with an ''. This commit does the same exept for control characters trailing a line. This gets rid of the trailing '' in all logs.
This should not cost too much performance, because control characters in log lines are not very common.
Some programs (e.g. strongswan, fetchmail) or standard libs (musl) append a '\n' to every log line. Metalog substituted every control character (0x7F and 0x0 to 0x1f) with an ''. This commit does the same exept for control characters trailing a line. This gets rid of the trailing '' in all logs.
This should not cost too much performance, because control characters in log lines are not very common.
This should deal with issue 20 (https://github.com/hvisage/metalog/issues/20).