# No handlers could be found for logger "curator.validators.SchemaCheck"

**URL:** <https://discuss.elastic.co/t/no-handlers-could-be-found-for-logger-curator-validators-schemacheck/65270>\
**Category:** Elasticsearch\
**Created:** [November 7, 2016, 8:15pm UTC](https://discuss.elastic.co/t/no-handlers-could-be-found-for-logger-curator-validators-schemacheck/65270 "2016-11-07T20:15:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![irom77](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/irom77/32/12976_2.png) [@irom77](https://discuss.elastic.co/u/irom77)\
**Post date:** [November 7, 2016, 8:15pm UTC](https://discuss.elastic.co/t/no-handlers-could-be-found-for-logger-curator-validators-schemacheck/65270/1 "2016-11-07T20:15:12Z")

</div>

Hey, I am trying to setup curator ' /usr/bin/curator --config /root/curator.yml /root/action\_file.yml' and getting errors below.

> /usr/bin/curator --config /root/curator.yml /root/action\_file.yml  
> No handlers could be found for logger "curator.validators.SchemaCheck"  
> Traceback (most recent call last):  
> File "/usr/bin/curator", line 9, in   
> load\_entry\_point('elasticsearch-curator==4.1.2', 'console\_scripts', 'curator')()  
> File "/usr/lib/python2.7/site-packages/curator/curator.py", line 5, in main  
> cli()  
> File "/usr/lib/python2.7/site-packages/click/core.py", line 716, in **call**  
> return self.main(\*args, \*\*kwargs)  
> File "/usr/lib/python2.7/site-packages/click/core.py", line 696, in main  
> rv = self.invoke(ctx)  
> File "/usr/lib/python2.7/site-packages/click/core.py", line 889, in invoke  
> return ctx.invoke(self.callback, \*\*ctx.params)  
> File "/usr/lib/python2.7/site-packages/click/core.py", line 534, in invoke  
> return callback(\*args, \*\*kwargs)  
> File "/usr/lib/python2.7/site-packages/curator/cli.py", line 114, in cli  
> client\_args = process\_config(config)  
> File "/usr/lib/python2.7/site-packages/curator/config\_utils.py", line 46, in process\_config  
> config = test\_config(yaml\_file)  
> File "/usr/lib/python2.7/site-packages/curator/config\_utils.py", line 20, in test\_config  
> 'Client Configuration', 'full configuration dictionary').result()  
> File "/usr/lib/python2.7/site-packages/curator/validators/schemacheck.py", line 68, in result  
> self.test\_what, self.location, self.badvalue, self.error)  
> curator.exceptions.ConfigurationError: Configuration: Client Configuration: Location: full configuration dictionary: Bad Value: "{'loglevel': 'INFO', 'blacklist': ['elasticsearch', 'urllib3'], 'logformat': 'default', 'hosts': ['elasticsearch'], 'timeout': 30, 'use\_ssl': False, 'master\_only': False, 'port': 9200, 'ssl\_no\_validate': False}", extra keys not allowed @ data['client']['loglevel']. Check configuration file.

My curator.yml is simple 🙂

> client:  
> hosts:  
> - "elasticsearch"  
> port: 9200  
> url\_prefix:  
> use\_ssl: False  
> certificate:  
> client\_cert:  
> client\_key:  
> ssl\_no\_validate: False  
> http\_auth:  
> timeout: 30  
> master\_only: False

> logging:  
> loglevel: INFO  
> logfile:  
> logformat: default  
> blacklist: ['elasticsearch', 'urllib3']

same with action\_file.yml

> actions:  
> 1:  
> action: delete\_indices  
> description: \>-  
> Delete indices older than 45 days (based on index name), for logstash-  
> prefixed indices. Ignore the error if the filter does not result in an  
> actionable list of indices (ignore\_empty\_list) and exit cleanly.  
> options:  
> ignore\_empty\_list: True  
> timeout\_override:  
> continue\_if\_exception: False  
> disable\_action: True  
> filters:  
> - filtertype: pattern  
> kind: prefix  
> value: pa-traffic-  
> exclude:  
> - filtertype: age  
> source: name  
> direction: older  
> timestring: '%Y.%m.%d'  
> unit: days  
> unit\_count: 2  
> exclude:

---

<div class="post-metadata">

**Author:** ![href](https://avatars.discourse-cdn.com/v4/letter/h/df705f/32.png) [@href](https://discuss.elastic.co/u/href)\
**Post date:** [November 15, 2016, 12:14pm UTC](https://discuss.elastic.co/t/no-handlers-could-be-found-for-logger-curator-validators-schemacheck/65270/2 "2016-11-15T12:14:00Z")

</div>

I'm having the same issues. I copied the `curator.yml` file from the documentation, same for the action file.

---

<div class="post-metadata">

**Author:** ![href](https://avatars.discourse-cdn.com/v4/letter/h/df705f/32.png) [@href](https://discuss.elastic.co/u/href)\
**Post date:** [November 15, 2016, 12:15pm UTC](https://discuss.elastic.co/t/no-handlers-could-be-found-for-logger-curator-validators-schemacheck/65270/3 "2016-11-15T12:15:42Z")

</div>

It works by removing this from the `curator.yml` file:

> [@irom77](#):
>
> logging:  
> loglevel: INFO  
> logfile:  
> logformat: default  
> blacklist: ['elasticsearch', 'urllib3']

I guess the documentation is wrong.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [November 15, 2016, 1:03pm UTC](https://discuss.elastic.co/t/no-handlers-could-be-found-for-logger-curator-validators-schemacheck/65270/4 "2016-11-15T13:03:50Z")

</div>

Is the indentation properly formatted? I can't tell from what you've pasted, but the error:

```auto
extra keys not allowed @ data['client']['loglevel']. Check configuration file.

```

suggest that `loglevel` is a sub key of `client` instead of `logging`, where it belongs. It should be indented to be properly read, and it's that way in the [example](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/configfile.html):

```auto
client:
  hosts:
    - "elasticsearch"
  port: 9200
  url_prefix:
  use_ssl: False
  certificate:
  client_cert:
  client_key:
  ssl_no_validate: False
  http_auth:
  timeout: 30
  master_only: False

logging:
  loglevel: INFO
  logfile:
  logformat: default
  blacklist: ['elasticsearch', 'urllib3']

```

The integration testing uses similar examples, and they do work, if properly indented.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 13, 2016, 1:03pm UTC](https://discuss.elastic.co/t/no-handlers-could-be-found-for-logger-curator-validators-schemacheck/65270/5 "2016-12-13T13:03:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
