What is the length of Java log4j's log message's max length? How to print it in a single line?

Posted by Sakthivel on Stack Overflow See other posts from Stack Overflow or by Sakthivel
Published on 2010-05-10T06:32:09Z Indexed on 2010/05/10 6:34 UTC
Read the original article Hit count: 283

Filed under:
|

In log4j default logging configuration, each line of log message which is printed in server log has maximum length comes around 8221 characters. If it exceeds this length, it is printed in multiple lines. But I want to print it in a single line, though whatever the length of each log message has.

© Stack Overflow or respective owner

Related posts about java

Related posts about log4j