Skip to content

Commit 4bbce94

Browse files
committed
fixed time format now it logs Minutes insted months
1 parent a17fee0 commit 4bbce94

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

bin/v_add_db_base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ v_str="$v_str U_DISK='0' SUSPEND='no' DATE='$V_DATE'"
8282
echo "$v_str">>$V_USERS/$user/db.conf
8383

8484
# Hiding password
85-
dt="$(date +%m-%d-%y" "%H:%m:%S)"
85+
dt="$(date +%m-%d-%y" "%H:%M:%S)"
8686
V_EVENT="$dt $V_SCRIPT $user $database $db_user ***** $type $host"
8787

8888
# Logging

bin/v_add_sys_user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ U_MAIL_DOMAINS='0'
148148
DATE='$V_DATE'" > $V_USERS/$user/user.conf
149149

150150
# Hiding password
151-
dt="$(date +%m-%d-%y" "%H:%m:%S)"
151+
dt="$(date +%m-%d-%y" "%H:%M:%S)"
152152
V_EVENT="$dt $V_SCRIPT $user ***** $email $package $fname $lname"
153153

154154
# Logging

bin/v_add_web_domain_stat_auth

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ fi
9090
update_web_domain_value '$STATS_AUTH' "$a_users"
9191

9292
# Hiding password
93-
V_EVENT="$(date +%m-%d-%y" "%H:%m:%S) $V_SCRIPT $user $domain $auth_user *****"
93+
V_EVENT="$(date +%m-%d-%y" "%H:%M:%S) $V_SCRIPT $user $domain $auth_user *****"
9494

9595
# Logging
9696
log_history "$V_EVENT" "v_del_web_domain_stat_auth $user $domain $auth_user"

bin/v_change_db_password

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ esac
6363
#----------------------------------------------------------#
6464

6565
# Hiding password
66-
V_EVENT="$(date +%m-%d-%y" "%H:%m:%S) $V_SCRIPT $user $database *****"
66+
V_EVENT="$(date +%m-%d-%y" "%H:%M:%S) $V_SCRIPT $user $database *****"
6767

6868
# Logging
6969
log_event 'system' "$V_EVENT"

bin/v_change_sys_user_password

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ echo "$password" | /usr/bin/passwd "$user" --stdin >/dev/null 2>&1
4444
#----------------------------------------------------------#
4545

4646
# Hiding password
47-
V_EVENT="$(date +%m-%d-%y" "%H:%m:%S) $V_SCRIPT $user *****"
47+
V_EVENT="$(date +%m-%d-%y" "%H:%M:%S) $V_SCRIPT $user *****"
4848

4949
# Logging
5050
log_event 'system' "$V_EVENT"

0 commit comments

Comments
 (0)