[ 
https://issues.apache.org/jira/browse/LOG4NET-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113401#comment-13113401
 ] 

Stefan Bodewig commented on LOG4NET-69:
---------------------------------------

Collin, are you getting an exception or a error message?  The error message is 
expected while an exception would be what the bug report is about.

Yes, 1.2.10 is the latest as of now, the sourceforge page is old, log4net is an 
Apache project by now.

The message you cite "User:{0} Domain:(1}" doesn't match the code you cite: 
"User:{0}\nDomain:(2}" - in one of the two a Copy/Paste error?

> Exception thrown when *Format methods are given a malformed format string
> -------------------------------------------------------------------------
>
>                 Key: LOG4NET-69
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-69
>             Project: Log4net
>          Issue Type: Bug
>    Affects Versions: 1.2.9
>            Reporter: Ron Grabowski
>            Assignee: Nicko Cadell
>            Priority: Critical
>             Fix For: 1.2.10
>
>
> FormatException thrown when *Format methods are given a malformed format 
> string: log.DebugFormat("Malformed {{,,,5}format{8}!");
> This statement:
>  log.DebugFormat("Malformed {{,,,5}format{8}!");
> throws the following exception:
> [FormatException: Input string was not in a correct format.]
>    System.Text.StringBuilder.FormatError()
>    System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String 
> format, Object[] args)
>    System.String.Format(IFormatProvider provider, String format, Object[] 
> args)
>    log4net.Core.LogImpl.DebugFormat(String format, Object[] args)
> which is consistent with the documentation for String.Format:
> System.FormatException: The format item in format is invalid.  -or- The 
> number indicating an argument to format is less than zero, or greater than or 
> equal to the number of specified objects to format.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to