fixed time format now it logs Minutes insted months

This commit is contained in:
Serghey Rodin 2011-11-14 15:17:00 +02:00
commit 4bbce94525
5 changed files with 5 additions and 5 deletions

View file

@ -82,7 +82,7 @@ v_str="$v_str U_DISK='0' SUSPEND='no' DATE='$V_DATE'"
echo "$v_str">>$V_USERS/$user/db.conf
# Hiding password
dt="$(date +%m-%d-%y" "%H:%m:%S)"
dt="$(date +%m-%d-%y" "%H:%M:%S)"
V_EVENT="$dt $V_SCRIPT $user $database $db_user ***** $type $host"
# Logging

View file

@ -148,7 +148,7 @@ U_MAIL_DOMAINS='0'
DATE='$V_DATE'" > $V_USERS/$user/user.conf
# Hiding password
dt="$(date +%m-%d-%y" "%H:%m:%S)"
dt="$(date +%m-%d-%y" "%H:%M:%S)"
V_EVENT="$dt $V_SCRIPT $user ***** $email $package $fname $lname"
# Logging

View file

@ -90,7 +90,7 @@ fi
update_web_domain_value '$STATS_AUTH' "$a_users"
# Hiding password
V_EVENT="$(date +%m-%d-%y" "%H:%m:%S) $V_SCRIPT $user $domain $auth_user *****"
V_EVENT="$(date +%m-%d-%y" "%H:%M:%S) $V_SCRIPT $user $domain $auth_user *****"
# Logging
log_history "$V_EVENT" "v_del_web_domain_stat_auth $user $domain $auth_user"

View file

@ -63,7 +63,7 @@ esac
#----------------------------------------------------------#
# Hiding password
V_EVENT="$(date +%m-%d-%y" "%H:%m:%S) $V_SCRIPT $user $database *****"
V_EVENT="$(date +%m-%d-%y" "%H:%M:%S) $V_SCRIPT $user $database *****"
# Logging
log_event 'system' "$V_EVENT"

View file

@ -44,7 +44,7 @@ echo "$password" | /usr/bin/passwd "$user" --stdin >/dev/null 2>&1
#----------------------------------------------------------#
# Hiding password
V_EVENT="$(date +%m-%d-%y" "%H:%m:%S) $V_SCRIPT $user *****"
V_EVENT="$(date +%m-%d-%y" "%H:%M:%S) $V_SCRIPT $user *****"
# Logging
log_event 'system' "$V_EVENT"