Hi Ron,
  Thanks For the reply.
  I tried that even still no use.
  I even tried html <br> but still i could not get the new line character.
 
  Am i missing out something in the configuration file here?.
 
 Any furthur suggestions are welcome.
 


Ron Grabowski <[EMAIL PROTECTED]> wrote:
What happens when you do this?

message.Append(Environment.NewLine);
message.Append("Hello Log4Net");
message.Append(Environment.NewLine);
message.Append("Bye Log4Net);

--- pradeep yanamandra <[EMAIL PROTECTED]>wrote:

> Hi,
>
> I am using the latest version of Log4Net(1.2.9 beta version).
> I am unable to insert new line characters in the content message
> of log4net.
>
> I am using the following skelton piece of code
> -----------------------------------------------------------
> StringBuilder message;
>
> message.Append("\r\n");
> message.Append("Hello Log4Net");
> message.Append("\r\n");
> message.Append("Bye Log4Net);
> log.Debug(message);
> ---------------------------------------------------------------
>
> Instead of printing new line characters for \r\n it is printing as
> follows.
>
> Hello Log4Net Bye Log4Net.
>
> My skelton of Log4Net RollingLogFileAppender is as follows.
>
> > type="log4net.Appender.RollingFileAppender">
>
>
>
>
>
>
>
>
>

>

>
> Any furthur comments and suggestions are welcome.
>
> Thanks in advance.
>
>
> ---------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click.



Yahoo! FareChase - Search multiple travel sites in one click.

Reply via email to