Merge "match devstack-gate format"
This commit is contained in:
commit
7648e9c615
4
stack.sh
4
stack.sh
@ -530,9 +530,9 @@ if [[ -n "$LOGFILE" ]]; then
|
||||
# Redirect stdout/stderr to tee to write the log file
|
||||
exec 1> >( awk '
|
||||
{
|
||||
cmd ="date +\"%Y-%m-%d %H:%M:%S \""
|
||||
cmd ="date +\"%Y-%m-%d %H:%M:%S.%3N | \""
|
||||
cmd | getline now
|
||||
close("date +\"%Y-%m-%d %H:%M:%S \"")
|
||||
close("date +\"%Y-%m-%d %H:%M:%S.%3N | \"")
|
||||
sub(/^/, now)
|
||||
print
|
||||
fflush()
|
||||
|
Loading…
x
Reference in New Issue
Block a user