org.apache.logging.log4j.core.config.ConfigurationException: No name attribute provided for Logger appenderRef


Solutions on the web

Solution icon of github
via GitHub by advishnuprasad
, 9 months ago
No name attribute provided for Logger appenderRef

Solution icon of stackoverflow
via Stack Overflow by Smajl
, 6 months ago
No name attribute provided for Logger org

Stack trace

org.apache.logging.log4j.core.config.ConfigurationException: No name attribute provided for Logger appenderRef
	at org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder.createLogger(PropertiesConfigurationBuilder.java:252)
	at org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder.build(PropertiesConfigurationBuilder.java:174)
	at org.apache.logging.log4j.core.config.properties.PropertiesConfigurationFactory.getConfiguration(PropertiesConfigurationFactory.java:52)
	at org.apache.logging.log4j.core.config.properties.PropertiesConfigurationFactory.getConfiguration(PropertiesConfigurationFactory.java:35)
	at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:244)
	at org.elasticsearch.common.logging.LogConfigurator$1.visitFile(LogConfigurator.java:104)
	at org.elasticsearch.common.logging.LogConfigurator$1.visitFile(LogConfigurator.java:100)
	at java.nio.file.Files.walkFileTree(Files.java:2670)
	at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:100)
	at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:83)
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:272)
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121)
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112)
	at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96)
	at org.elasticsearch.cli.Command.main(Command.java:62)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:89)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:82)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.