estevaobk / 3scaledump

Unofficial tool for dumping a Red Hat 3scale On-premises project
2 stars 6 forks source link

Generate an official log file #26

Open estevaobk opened 5 years ago

estevaobk commented 5 years ago

Right now everything is being sent to a file manually, e.g.:

PROJECT=<3scale Project> ; curl -s https://access.redhat.com/sites/default/files/attachments/3scale-dump-<VERSION>.sh | bash -s "$PROJECT" "auto" 2>&1 | tee 3scale-dump-logs.txt

In the next stable release, an official log file needs to be generated. Using tee would allow to print the output from the whole dumo to both the stdout/stderr and this file.

estevaobk commented 5 years ago

Addressed in https://github.com/estevaobk/3scaledump/commit/9eceacbfae585b4af2405080cbe43b095d5605c0