mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
F OpenNebula/one#5178: Add time to supervisord log (#635)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
This commit is contained in:
parent
4559bb5226
commit
5d7ae36c68
@ -4,12 +4,12 @@
|
||||
|
||||
msg()
|
||||
(
|
||||
echo "[SUPERVISOR]: ${SUPERVISOR_PROCESS_NAME}: $*"
|
||||
echo "$(date '+%F %T') [SUPERVISOR]: ${SUPERVISOR_PROCESS_NAME}: $*"
|
||||
)
|
||||
|
||||
err()
|
||||
(
|
||||
echo "[SUPERVISOR] [!] ERROR: ${SUPERVISOR_PROCESS_NAME}: $*"
|
||||
echo "$(date '+%F %T') [SUPERVISOR] [!] ERROR: ${SUPERVISOR_PROCESS_NAME}: $*"
|
||||
)
|
||||
|
||||
is_running()
|
||||
|
Loading…
x
Reference in New Issue
Block a user