You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2017/12/07 14:03:00 UTC

[jira] [Commented] (LOG4J2-2147) What is Apache's recommendation to use file type for configuration

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

Ralph Goers commented on LOG4J2-2147:
-------------------------------------

The Apache Logging project doesn't have a preference for the format of the configuration file. You can safely use any of the supported types. I personally prefer xml as I find it the most readable. Others prefer JSON or YAML. Some users really like properties files so we support that too.

> What is Apache's recommendation to use file type for configuration
> ------------------------------------------------------------------
>
>                 Key: LOG4J2-2147
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2147
>             Project: Log4j 2
>          Issue Type: Question
>            Reporter: Varun Sharma
>            Priority: Minor
>
> Hi,
> I am setting up Log4j 2 for a new project. There are various way we can configure log4j2, using XML file, properties file etc. What is the recommendation from Apache for file type to configure. Like which format will have forward compatibility or any other thing. What is preference from Apache?
> Regards,
> Varun



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)