Logs messages from `entrypoint.sh` and the other `run-*.sh` scripts don't show timestamp today, and its getting hard to see the order of things in the logs, especially between different processes. This PR adds a command `tlog` to print logs with UTC timestamp prefixed. We're only using it in `entrypoint.sh` now, but follow-up PR(s) will add it to the other `run-*` scripts as well. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated Dockerfile to include `/opt/bin` in the `PATH` and modified permissions settings for executable files. - **Refactor** - Enhanced logging in the entrypoint script by replacing `echo` statements with `tlog` for better clarity and debugging. - **New Features** - Introduced `tlog`, a new shell script for consistent and timestamped logging. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|---|---|---|
| .. | ||
| templates | ||
| utils | ||
| auto_heal.sh | ||
| caddy-reconfigure.mjs | ||
| entrypoint.sh | ||
| generate-infra-details.sh | ||
| healthcheck.sh | ||
| install_docker.sh | ||
| mongodb-fixer.sh | ||
| pull_resource.sh | ||
| run-caddy.sh | ||
| run-java.sh | ||
| run-postgres.sh | ||
| run-starting-page-init.sh | ||
| run-with-env.sh | ||
| start_app.sh | ||
| starting-page-init.py | ||