From 4e403e04e96e5f38622c1520cf4ff84c41cd9a9c Mon Sep 17 00:00:00 2001 From: Dimitris Aragiorgis Date: Fri, 31 Jan 2014 03:48:12 +0200 Subject: [PATCH] Minor changes related to logging Signed-off-by: Dimitris Aragiorgis --- common.sh | 2 +- snf-network-log | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common.sh b/common.sh index 291baa5..17f13bc 100755 --- a/common.sh +++ b/common.sh @@ -236,7 +236,7 @@ get_eui64 () { send_command () { local command="$1" - $SNF_NETWORK_LOG dnshook "$command" + $SNF_NETWORK_LOG $0 "$command" nsupdate -k $KEYFILE > /dev/null << EOF server $SERVER $command diff --git a/snf-network-log b/snf-network-log index 5fc2853..50c0cda 100755 --- 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 <