Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 611D0200B68 for ; Thu, 4 Aug 2016 16:48:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5FC80160A6A; Thu, 4 Aug 2016 14:48:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AEC95160AAE for ; Thu, 4 Aug 2016 16:48:21 +0200 (CEST) Received: (qmail 90634 invoked by uid 500); 4 Aug 2016 14:48:20 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 90614 invoked by uid 99); 4 Aug 2016 14:48:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2016 14:48:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BBEE72C0D60 for ; Thu, 4 Aug 2016 14:48:20 +0000 (UTC) Date: Thu, 4 Aug 2016 14:48:20 +0000 (UTC) From: "Sumit Singhal (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4J2-1482) Improper header in CsvParameterLayout MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 04 Aug 2016 14:48:22 -0000 [ https://issues.apache.org/jira/browse/LOG4J2-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15407872#comment-15407872 ] Sumit Singhal commented on LOG4J2-1482: --------------------------------------- Thanks for the reply guys. I would wait for the release and incorporate some work around for now. Really appreciate all the support guys. Great going...!! Sumit Singhal > Improper header in CsvParameterLayout > ------------------------------------- > > Key: LOG4J2-1482 > URL: https://issues.apache.org/jira/browse/LOG4J2-1482 > Project: Log4j 2 > Issue Type: Bug > Components: Core > Affects Versions: 2.6.2 > Reporter: Sumit Singhal > Fix For: 2.7 > > Attachments: csv-with-line-seprator-1.csv, csv-with-line-seprator-2.csv, csv-without-line-separator-1.csv, csv-without-line-separator-2.csv > > > The header and first record are coming in first line in case of CsvParameterLayout. This messes up the header for the first file as well as for the subsequent files. And if we use line separator as part of header, the first file seems ok but the first record in subsequent files comes out to be empty with only commas. > Copied from the SO post: > {code:xml} > > > > D:/watcher > audit > param1,param2,param3 > > > fileName="${audit-path}/${file-name}.tmp" filePattern="${audit-path}/${file-name}-%d{yyyy-MM-dd}-%i.csv"> > > > > > > > > > > > > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org