Return-Path: X-Original-To: apmail-logging-log4net-dev-archive@www.apache.org Delivered-To: apmail-logging-log4net-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80E52FB88 for ; Thu, 4 Apr 2013 14:15:20 +0000 (UTC) Received: (qmail 65963 invoked by uid 500); 4 Apr 2013 14:15:20 -0000 Delivered-To: apmail-logging-log4net-dev-archive@logging.apache.org Received: (qmail 65698 invoked by uid 500); 4 Apr 2013 14:15:19 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" List-Id: Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 65078 invoked by uid 99); 4 Apr 2013 14:15:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 14:15:18 +0000 Date: Thu, 4 Apr 2013 14:15:18 +0000 (UTC) From: "Vijay Gandhi Bolla (JIRA)" To: log4net-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4NET-373) AdoNetAppender truncates the data while inserting into DB MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4NET-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13622359#comment-13622359 ] Vijay Gandhi Bolla commented on LOG4NET-373: -------------------------------------------- I have tried it and it gives me error message saying 'String or Binary data would be truncated'. > AdoNetAppender truncates the data while inserting into DB > --------------------------------------------------------- > > Key: LOG4NET-373 > URL: https://issues.apache.org/jira/browse/LOG4NET-373 > Project: Log4net > Issue Type: Bug > Environment: SQL Server 2008 R2, VS 2010 > Reporter: Vijay Gandhi Bolla > Priority: Critical > > I am using Log4net to log request and response of my services into SQL server DB. I am serializing the request and response objects and saving them into DB. > I have seen that log4net is truncating the xml text and saving it into DB. I am using string type in the table and also in the appender i have given String as Dbtype and given the Size value as '2147483647'. > But still the text is getting trimmed. > Please, let me know if this is an issue or am i missing something here. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira