logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Kumar Bhatt (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4NET-340) Exception during StringFormat: Input string was not in a correct format.
Date Mon, 21 May 2012 05:45:40 GMT
Deepak Kumar Bhatt created LOG4NET-340:
------------------------------------------

             Summary: 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


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

        

Mime
View raw message