You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "elad kalmi (JIRA)" <ji...@apache.org> on 2007/08/15 16:41:31 UTC

[jira] Created: (LOG4NET-120) %n / %newline does not work with LogFileAppender

%n / %newline does not work with LogFileAppender
------------------------------------------------

                 Key: LOG4NET-120
                 URL: https://issues.apache.org/jira/browse/LOG4NET-120
             Project: Log4net
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 1.2.10
         Environment: Mono 2.0
            Reporter: elad kalmi


%n / %newline does not work with LogFileAppender

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (LOG4NET-120) %n / %newline does not work with LogFileAppender

Posted by "elad kalmi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4NET-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521336 ] 

elad kalmi commented on LOG4NET-120:
------------------------------------

You are right, it is an editor mismatch,
sorry and thank you for your time !

Elad.



_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



> %n / %newline does not work with LogFileAppender
> ------------------------------------------------
>
>                 Key: LOG4NET-120
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-120
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Mono 2.0
>            Reporter: elad kalmi
>            Assignee: Ron Grabowski
>
> %n / %newline does not work with LogFileAppender

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (LOG4NET-120) %n / %newline does not work with LogFileAppender

Posted by "Ron Grabowski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4NET-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520017 ] 

Ron Grabowski commented on LOG4NET-120:
---------------------------------------

There isn't a "LogFileAppender" in the log4net distribution. 

Could you please post your log4net.config file that includes the code that isn't working for you?

> %n / %newline does not work with LogFileAppender
> ------------------------------------------------
>
>                 Key: LOG4NET-120
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-120
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Mono 2.0
>            Reporter: elad kalmi
>
> %n / %newline does not work with LogFileAppender

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (LOG4NET-120) %n / %newline does not work with LogFileAppender

Posted by "Ron Grabowski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4NET-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Grabowski resolved LOG4NET-120.
-----------------------------------

    Resolution: Invalid
      Assignee: Ron Grabowski

Please use the mailing lists for help. The %n pattern has been working correctly for a very long time. Perhaps your editor is not processing the newlines correctly.

> %n / %newline does not work with LogFileAppender
> ------------------------------------------------
>
>                 Key: LOG4NET-120
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-120
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Mono 2.0
>            Reporter: elad kalmi
>            Assignee: Ron Grabowski
>
> %n / %newline does not work with LogFileAppender

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (LOG4NET-120) %n / %newline does not work with LogFileAppender

Posted by "elad kalmi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4NET-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520166 ] 

elad kalmi commented on LOG4NET-120:
------------------------------------


Hi, you are right, it is FileAppender of course.
This is the config file:

<?xml version="1.0" encoding="utf-8" ?>
<log4net>
  <appender name="LogFileApp" type="log4net.Appender.FileAppender">
    <param name="Encoding" value="Unicode" />
    <param name="File" value="Server.log" />
    <param name="AppendToFile" value="false" />
    <layout type="log4net.Layout.PatternLayout">
      <param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
    </layout>
  </appender>
  <root>
    <level value="ALL" />
    <appender-ref ref="LogFileApp" />
</root>
</log4net>

Thanks,
Elad.


_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



> %n / %newline does not work with LogFileAppender
> ------------------------------------------------
>
>                 Key: LOG4NET-120
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-120
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Mono 2.0
>            Reporter: elad kalmi
>
> %n / %newline does not work with LogFileAppender

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.