fix(libvirt): correct log timestamp format

main
Tsu-ba-me 1 year ago
parent 5d0d521d91
commit 9f9d377171
  1. 4
      libvirt/hooks/qemu.d/ws

@ -5,7 +5,7 @@
# #
function log { function log {
echo "$(date -Is):libvirt_hooks:ws; $@" >>/var/log/anvil.log; echo "$(date +"%Y/%m/%d %T"):libvirt_hooks:ws; $@" >>/var/log/anvil.log;
} }
log "wsargs=$@" log "wsargs=$@"
@ -40,6 +40,6 @@ fi
ws_command_args="$ws_server_uuid_flag $ws_port_flag $ws_open_flag" ws_command_args="$ws_server_uuid_flag $ws_port_flag $ws_open_flag"
log "wscmd=$ws_command_args" log "wscmd_args=$ws_command_args"
anvil-manage-vnc-pipe $ws_command_args & anvil-manage-vnc-pipe $ws_command_args &

Loading…
Cancel
Save