Indicate where artifacts are going to and coming from in the log
Description
Indicate where artifacts are coming from and being pushed to in the logs.
Changes proposed in this merge request:
- Make Element.get_brief_display_key() public for logging purposes of other modules
- Add info messages to indicate the remote being used for pushing to a cache
- Add info messages to indicate the remote being used for pulling from a cache
This merge request, when approved, will close issue/bug: #275 (closed)
CHANGELOG/Release Notes
- Element.get_brief_display_key() is now publicly accessible.
Preview
[--:--:--][72f8f716][ pull:hello.bst ] START CAS-interaction/hello/72f8f716-pull.511.log
[--:--:--][72f8f716][ pull:hello.bst ] INFO Pulling 72f8f716 <- remote (https://localhost:9999)
[--:--:--][72f8f716][ pull:hello.bst ] INFO Downloaded artifact 72f8f716
[00:00:00][72f8f716][ pull:hello.bst ] SUCCESS CAS-interaction/hello/72f8f716-pull.511.log
...
[--:--:--][72f8f716][ push:hello.bst ] START CAS-interaction/hello/72f8f716-push.1010.log
[--:--:--][72f8f716][ push:hello.bst ] START Pushing artifact 72f8f716
[--:--:--][72f8f716][ push:hello.bst ] INFO Pushing 72f8f716 -> https://localhost:9999
[--:--:--][72f8f716][ push:hello.bst ] INFO Pushed artifact 72f8f716
[00:00:00][72f8f716][ push:hello.bst ] SUCCESS Pushing artifact 72f8f716
[00:00:00][72f8f716][ push:hello.bst ] SUCCESS CAS-interaction/hello/72f8f716-push.1010.log
Edited by Qinusty