Friday, May 18, 2012
 
The best way to analyze your logs! Minimize
 Log4Net Mail archive   

The Log4Net mailing list is a great source of information about using log4Net, in this forum we collect all the messages in the log4net user list and some selected threads from the developer list.

Subject: log text wrap
Prev Next
You are not authorized to post a reply.

Author Messages
Mackenzie B Funai

08/05/2008 8:43 PM  


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.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Freddy Gómez

08/05/2008 9:00 PM  
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.
Ron Grabowski

08/05/2008 10:45 PM  

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

You are not authorized to post a reply.
Forums > Log4Net > Log4Net Mail archive > log text wrap



ActiveForums 3.7

 

 

 

 

 

 

 

 

Log4Net Dashboard

Log analysis and monitoring made easy!

Log4Net Dashboard is a log viewer that can read log statements from a variety of logging output targets.

You can download a free developer version.

  

Check it out!

On the demonstration site you can try it  with live data.demo.l4ndash.com - Try Log4Net Dashboard with live data

The mail archive is a copy of all the mail sent to the mail address: log4net-user@logging.apache.org, organized as a forum.

If you would like to participate in the mail list, send a mail to log4net-user-subscribe@logging.apache.org.

More information about the mailing list is available on: http://logging.apache.org/log4net/support.html

 

A complete topic list is available and can be viewed here (warning, it takes some time to load)

 

Copyright 2005-2008 by FaktNet AS Terms Of Use Privacy Statement