mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
fixed time format now it logs Minutes insted months
This commit is contained in:
parent
a17fee0f4f
commit
4bbce94525
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue