Enhance logging for install_databases.sh script 11/13511/1
authorssum21 <ssumuss@khu.ac.kr>
Fri, 4 Oct 2024 01:54:19 +0000 (10:54 +0900)
committerssum21 <ssumuss@khu.ac.kr>
Fri, 4 Oct 2024 01:58:07 +0000 (10:58 +0900)
commit3e49b0629eaeafd721365b7e01a9b4e20818d8d3
tree58b480af08f74e3989e19991bc264e7eceed8564
parent669e67bc51d5607e2626b41c04bd9267106abb33
Enhance logging for install_databases.sh script

- Improved script readability
- Introduced a dynamic log function `log_message` to standardize and enhance logging.
- Replaced static `echo` statements with dynamic log messages supporting multiple log levels (INFO, WARN, ERROR).
- Added log messages for waiting and successful readiness of database pods (PostgreSQL and Cassandra).

Issue-ID: AIMLFW-103

Change-Id: I95bb59e4e90da9c72454caa5443ffd0bd5191386
Signed-off-by: ssum21 <ssumuss@khu.ac.kr>
bin/install_databases.sh