mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 05:14:10 -07:00
Added user history log
This commit is contained in:
parent
b7a47d404c
commit
d2685e8b49
11 changed files with 136 additions and 38 deletions
|
@ -19,7 +19,7 @@ host=$2
|
|||
port=$3
|
||||
dbuser=$4
|
||||
dbpass=$5
|
||||
max_db=${6-300}
|
||||
A5='******'
|
||||
charsets=${7-UTF8,LATIN1,WIN1250,WIN1251,WIN1252,WIN1256,WIN1258,KOI8}
|
||||
template=${8-template1}
|
||||
|
||||
|
@ -28,6 +28,9 @@ source $VESTA/conf/vesta.conf
|
|||
source $VESTA/func/main.sh
|
||||
source $VESTA/func/db.sh
|
||||
|
||||
# Hiding password
|
||||
max_db=${6-500}
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Verifications #
|
||||
|
@ -69,11 +72,6 @@ chmod 660 $VESTA/conf/$type.conf
|
|||
# Vesta #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Hiding password
|
||||
EVENT="DATE='$DATE' TIME='$TIME' COMMAND='$SCRIPT'"
|
||||
EVENT="$EVENT ARGUMENTS='$type $host $port $dbuser ****** $max_db $charsets"
|
||||
EVENT="$EVENT $tpl'"
|
||||
|
||||
# Logging
|
||||
log_event "$OK" "$EVENT"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue