elastic / elastic/support-diagnostics
Misleading output from export_monitoring.sh regarding log file
- Dominant language
- Java
- Stars
- 304
- Forks
- 175
- PR merge metrics
- No merged PRs in 30d
Description
During issues with `./export-monitoring.sh` the logs show:
```
Cannot contiue processing. Exiting Check diagnostics.log in the archive file for more detail.
Closing loggers.
Archiving diagnostic results.
Archive: /path/to/diagnostics/support-diagnostics-8.1.2/monitoring-export-20210113-130018.zip was created
```
But in the resulting file there is only `extract.log`:
```
/path/to/support-diagnostics-8.1.2$ unzip monitoring-export-20210113-130018.zip
Archive: monitoring-export-20210113-130018.zip
warning: stripped absolute path spec from /monitoring-export-20210113-130018/
creating: monitoring-export-20210113-130018/
warning: stripped absolute path spec from /monitoring-export-20210113-130018/extract.log
inflating: monitoring-export-20210113-130018/extract.log
```
The console logging should align with what is actually produced; either the log file should be named `diagnostics.log` or the console logging should indicate to look in the `extract.log`.
Contributor guide
Assessment
This issue has not been assessed yet.