No logging information available after creating repo for snapshot


(R_C) #1

Hi ,

I am working on elasticsearch v5.4.3 .
To check the working of snapshot , I have first registered the repo

 `   {
  "my_fs_backup" : {
    "type" : "fs",
    "settings" : {
      "compress" : "true",
      "chunk_size" : "10m",
      "location" : "/mount/backups/my_backup"
    }
  }
}

`
Debug logs were enabled in log4j2.properties with :

rootLogger.level = debug

But once the repository was created , no logs were registered in "elasticsearch.log" file ??

Any lead would be highly appreciable .

Thanks .


(David Turner) #2

To verify that your repository is correctly configured, POST _snapshot/REPOSITORY_NAME/_verify as described in the snapshot/restore documentation. Debug logs only really make sense when read alongside the code, and there are no guarantees that (a) they give a complete picture of what the system is doing and (b) they will remain stable between releases.


(system) #3

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