I've read the docs and searched the archives, but can't find any mention of the 
functionality I'm interested in.  Does anyone know if there's a way in Log4j to get 
the messages (%m) to wrap?  I want to keep a log of client requests and responses 
which could easily be 20,000 characters long.

For example, here is a current log line:
2001-05-03 15:57 INFO - Recv: <?xml version="1.0"?><!DOCTYPE Message SYSTEM 
"Message.dtd"><Message><Protocol>1</Protocol><RequestType>Confirmation</RequestType><Date>20001218</Date><Time>154954</Time><MessageText>This
 is an example.</MessageText></Message>

I'd like to be able to dump that in a format like below:
2001-05-03 15:57 INFO - Recv: <?xml version="1.0"?><!DOCTYPE Mes
2001-05-03 15:57 INFO - sage SYSTEM "Message.dtd"><Message><Prot
2001-05-03 15:57 INFO - ocol>1</Protocol><RequestType>Confirmati
2001-05-03 15:57 INFO - on</RequestType><Date>20001218</Date><Ti
2001-05-03 15:57 INFO - me>154954</Time><MessageText>This is an 
2001-05-03 15:57 INFO - example.</MessageText></Message>

Regards,
Michael E. Rhodes 
Information Technology
Diebold, Incorporated

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to