Revert "Logger: only log printable characters and newlines"
This reverts commit 2b1392af2f
.
This seems to create issues shutting down, so I need to look into it
further.
This commit is contained in:
parent
2b1392af2f
commit
b35e03b6b1
@ -87,7 +87,6 @@ write_log(int logfd, const char *buffer, size_t bytes)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!in_escape) {
|
if (!in_escape) {
|
||||||
if (isprint((unsigned char) *p) || *p == '\n')
|
|
||||||
if (write(logfd, p++, 1) == -1)
|
if (write(logfd, p++, 1) == -1)
|
||||||
eerror("write: %s", strerror(errno));
|
eerror("write: %s", strerror(errno));
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user