Mackenzie B Funai | 5 Aug 20:42
Favicon

log text wrap


Is there a way to wrap the text in my log.  I can't find anything in the
appender yet.

Mackenzie Funai

Developer - Supporting Technologies
Computer Sciences Corporation
8616 Freeport Parkway St. 2B
Irving, TX 75063
469-499-8521

Computer Sciences Corporation
Registered Office: 3170 Fairview Park Drive, Falls Church, Virginia 22042,
USA
Registered in Nevada, USA No: C-489-59

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Re: log text wrap

Try checking the Pattern Layout documentation:

http://logging.apache.org/log4net/release/sdk/log4net.Layout.PatternLayout.html

There is no property to control text wrapping but you can add custom format to your log event.

-Fred.

On Tue, Aug 5, 2008 at 2:13 PM, Mackenzie B Funai <mfunai <at> csc.com> wrote:

Is there a way to wrap the text in my log.  I can't find anything in the
appender yet.

Mackenzie Funai

Developer - Supporting Technologies
Computer Sciences Corporation
8616 Freeport Parkway St. 2B
Irving, TX 75063
469-499-8521


Computer Sciences Corporation
Registered Office: 3170 Fairview Park Drive, Falls Church, Virginia 22042,
USA
Registered in Nevada, USA No: C-489-59

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Ron Grabowski | 5 Aug 22:41
Favicon

Re: log text wrap

You can use this example layout code:

http://svn.apache.org/viewvc/logging/log4net/trunk/examples/net/1.0/Layouts/SampleLayoutsApp/cs/src/Layout/LineWrappingLayout.cs?view=markup

----- Original Message ----
From: Mackenzie B Funai <mfunai <at> csc.com>
To: log4net-user <at> logging.apache.org
Sent: Tuesday, August 5, 2008 2:43:42 PM
Subject: log text wrap

Is there a way to wrap the text in my log.  I can't find anything in the
appender yet.

Mackenzie Funai

Developer - Supporting Technologies
Computer Sciences Corporation
8616 Freeport Parkway St. 2B
Irving, TX 75063
469-499-8521

Computer Sciences Corporation
Registered Office: 3170 Fairview Park Drive, Falls Church, Virginia 22042,
USA
Registered in Nevada, USA No: C-489-59

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Gmane