logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-943) How to configure StatisticsCsvLayout in log4j2 ?
Date Fri, 23 Jan 2015 02:30:34 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288626#comment-14288626

Gary Gregory commented on LOG4J2-943:

For a nice (Apache) CSV implementation, see https://commons.apache.org/proper/commons-csv/

> How to configure StatisticsCsvLayout in log4j2 ?
> ------------------------------------------------
>                 Key: LOG4J2-943
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-943
>             Project: Log4j 2
>          Issue Type: Question
>          Components: Appenders, Layouts, Plugins
>    Affects Versions: 2.1
>         Environment: Windows7, Java
>            Reporter: Mike Andrew
>            Priority: Critical
>              Labels: log4j2, log4j2.xml
>             Fix For: 2.1
> Need help from migrating log4j to log4j2. I have a rollingFileAppender. I need this appender
to make use of "StatisticsCsvLayout" in org.perf4j. Previously in log4j 1.x version we used
to directly refer the StatisticsCsvLayout from any appender using following tag in log4j.xml.
> <Layout class="org.perf4j.log4j.StatisticsCsvLayout"/>
> We are unable to confire this from log4j2.xml as there is no provision to make use of
external layouts directly. Please tell me how to configure this in log4j2.xml.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message