Red Hat Bugzilla – Bug 431711
Control characters should be quoted in log output.
Last modified: 2008-02-06 22:14:27 EST
Description of problem:
I turned on tracing and directed the output to a log file. When I grepped the
file, grep said the file was binary. The "file" command said the log was "data"
instead of text. I found lines in the log for each connection that contained:
... ConnectionStartOkBody ... response=^@guest^@guest
The control character "^@" was preventing grep from listing all lines that
contained my pattern.
When I copied the log and edited out "^@", the grep worked as expected.
Debug logging outputs the beginning of message data without quoting control
characters. Control characters should be quoted in log output.
*** This bug has been marked as a duplicate of 430121 ***