Skip to content

log4j:WARN Please initialize the log4j system properly #4704

@robin820224

Description

@robin820224

I have installed logstash2.2.2 and elasticsearch2.1.1 in centos7. When I used "service logstash configtest", I have got log4j WARM:

[root@iZ25g5gvvtgZ bin]# service logstash configtest
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAuthCache).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Configuration OK

The follow is my conf file:
input {
log4j {
mode => "server"
host => "localhost"
port => 4561
}
}
output {
elasticsearch {
hosts => "localhost:9200"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions