Logging questions

Hi There

I have a question regarding how elasticsearch log works.

  1. first step, i created a "test" collections with 5 shards and 1 replica , and i can see below message
    [cluster.metadata ] [ck-master] **[test] creating index**, cause [api], templates [], shards [5]/[1], mappings []

  2. close this collection
    [cluster.metadata ] [ck-master] **closing indices [[test]]**

  3. reopen this collection
    [cluster.metadata ] [ck-master] **opening indices [[test]]**

  4. delete this collection.
    here is the weird part, nothing show up in log file.. where did it go

Thanks
Alps

We do not currently log a message at the INFO level when deleting an index. If you change cluster.metadata to log at the DEBUG level then you will see a log message like:

[2016-05-19 22:29:09,915][DEBUG][cluster.metadata ] [Battering Ram] [[test]] deleting index

2 Likes