zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sekhon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-2936) Duplicate Keys in Log4j Configuration
Date Wed, 08 Nov 2017 15:52:00 GMT
Hari Sekhon created ZOOKEEPER-2936:

             Summary: Duplicate Keys in Log4j Configuration
                 Key: ZOOKEEPER-2936
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2936
             Project: ZooKeeper
          Issue Type: Bug
          Components: contrib, other
    Affects Versions: 3.4.8
         Environment: Apache ZooKeeper source tarball
            Reporter: Hari Sekhon
            Priority: Trivial

Recent versions of ZooKeeper have introduced the following duplicate keys in to the contrib
log4j.properties files.

In this file:
and this file:

the following duplicate keys are found:

log4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{ISO8601} - %-5p [%t:%C{1}@%L] - %m%n

This was discovered because I've written file validators for most major formats which recurse
all my github repos and this was failing my integration tests when pulling ZooKeeper source
code. I actually added --exclude and --ignore-duplicate-keys switches to {code}validate_ini.py{code}
to work around this and fix my builds for now but just remembered to raise this to you guys.

The validator tools if you're interested can be found at:




This message was sent by Atlassian JIRA

View raw message