Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Logging Error #9

Open
harshsp31 opened this issue Nov 16, 2017 · 1 comment
Open

Logging Error #9

harshsp31 opened this issue Nov 16, 2017 · 1 comment

Comments

@harshsp31
Copy link

I built the package using the steps listed in the documentation but facing this error in spite of changing the log4j properties file. Here is the error description :

log4j:WARN No appenders could be found for logger (org.apache.kafka.connect.mongo.tools.ImportJob). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.Collections$SingletonList.get(Collections.java:4815) at org.apache.kafka.connect.mongo.tools.ImportDB.<init>(ImportData.kt:119) at org.apache.kafka.connect.mongo.tools.ImportJob.start(ImportData.kt:56) at org.apache.kafka.connect.mongo.tools.ImportDataKt.main(ImportData.kt:260)

Could you help me out with this?

@sailxjx
Copy link
Contributor

sailxjx commented Apr 26, 2018

@harshsp31 What does your log4j.properties look like?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants