projects
/
snf-network
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor changes related to logging
[snf-network]
/
snf-network-log
diff --git
a/snf-network-log
b/snf-network-log
index
5fc2853
..
50c0cda
100755
(executable)
--- a/
snf-network-log
+++ b/
snf-network-log
@@
-6,7
+6,7
@@
source /etc/default/snf-network
-caller=$1
+caller=$(basename $1)
shift
@@
-15,7
+15,7
@@
hooks_info="$GANETI_HOOKS_PATH $GANETI_HOOKS_PHASE"
msg="$@"
cat >>$LOGFILE <<EOF
-$(date) $caller $hooks_info $msg
+$(date) $hooks_info $caller $msg
EOF
exit 0