08-09-05 10:53 PM
Im running a red hat linux 9, apache 2.0.54 system
setup with mod_security (mod_security Im new to).
I have several programs that log to the error_log
file. C++ and php primarily.
I noticed that if I use <iostream> and cerr to
print to stderr, the log file gets the output
with 1 char per line for example 'test this'
would come out as:
t
e
s
t
t
h
i
s
(along with the other logging information. Sorry Im not on
my linux box here to cut and paste the example).
When i switch to fprintf(stderr,"test this\n");
It comes out the way I expect it to:
test this
Anyone understand what this behavior is and how to fix it
so I can use <iostream> cerr properly?
Thanks in advance,
Jeff
[ Post a follow-up to this message ]
|