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

Stefan Bodewig commented on LOG4NET-340:
----------------------------------------

I'll immediately agree with Dominilk if Deepak know the Debugger method is 
invoking string.format inside.

@Deepak where does the Debugger method come from?  Is it one of yours?  I can' 
find one in log4net.
                
> Exception during StringFormat: Input string was not in a correct format. 
> -------------------------------------------------------------------------
>
>                 Key: LOG4NET-340
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-340
>             Project: Log4net
>          Issue Type: Bug
>    Affects Versions: 1.2.10
>            Reporter: Deepak Kumar Bhatt
>            Assignee: Dominik Psenner
>
> We are encountering following error when we use following debugger statement 
> in code. This request is a JSON request which is a valid format in JSON but 
> still log4net 1.2.10.0 logs this message.
> <<<Code>>>
>  Logger.Debugger("request=" + request);
> <<<Error Message in Logger >>>
> <log4net.Error>Exception during StringFormat: Input string was not in a 
> correct format. <format>request={ 
>   "ID": "xxxx-xxxxx-xxxx-xxxx-xxxx", 
>   "zipFile": "Test.docx__04052012105400.authoring.gz", 
>   "actualFile": "Test02052012222046.docx", 
>   "UserID": "bhatt", 
>   "groupID": "GroupA", 
>   "groupFromUI": "GroupA" 
> }</format><args>{}</args></log4net.Error> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to