Przeglądaj źródła

disabled logging

Serghey Rodin 13 lat temu
rodzic
commit
e30eb7d3ce

+ 3 - 3
bin/v_add_dns_on_web_alias

@@ -75,8 +75,8 @@ fi
 #                       Vesta                              #
 #                       Vesta                              #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-# Logging
-log_history "$EVENT"
-log_event "$OK" "$EVENT"
+# No Logging
+#log_history "$EVENT"
+#log_event "$OK" "$EVENT"
 
 
 exit
 exit

+ 2 - 2
bin/v_backup_users

@@ -33,7 +33,7 @@ done
 #                       Vesta                              #
 #                       Vesta                              #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-# Logging
-log_event "$OK" "$EVENT"
+# No Logging
+#log_event "$OK" "$EVENT"
 
 
 exit
 exit

+ 0 - 1
bin/v_suspend_mail_account

@@ -55,7 +55,6 @@ echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
 update_object_value "mail/$domain" 'ACCOUNT' "$account" '$SUSPENDED' 'yes'
 update_object_value "mail/$domain" 'ACCOUNT' "$account" '$SUSPENDED' 'yes'
 
 
 # Logging
 # Logging
-log_history "$EVENT"
 log_event "$OK" "$EVENT"
 log_event "$OK" "$EVENT"
 
 
 exit
 exit

+ 2 - 3
bin/v_suspend_mail_accounts

@@ -47,8 +47,7 @@ done
 #                       Vesta                              #
 #                       Vesta                              #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-# Logging
-log_history "$EVENT"
-log_event "$OK" "$EVENT"
+# No Logging
+#log_event "$OK" "$EVENT"
 
 
 exit
 exit

+ 0 - 1
bin/v_unsuspend_mail_account

@@ -56,7 +56,6 @@ echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
 update_object_value "mail/$domain" 'ACCOUNT' "$account" '$SUSPENDED' 'no'
 update_object_value "mail/$domain" 'ACCOUNT' "$account" '$SUSPENDED' 'no'
 
 
 # Logging
 # Logging
-log_history "$EVENT"
 log_event "$OK" "$EVENT"
 log_event "$OK" "$EVENT"
 
 
 exit
 exit

+ 2 - 3
bin/v_unsuspend_mail_accounts

@@ -47,8 +47,7 @@ done
 #                       Vesta                              #
 #                       Vesta                              #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-# Logging
-log_history "$EVENT"
-log_event "$OK" "$EVENT"
+# No Logging
+#log_event "$OK" "$EVENT"
 
 
 exit
 exit

+ 2 - 2
bin/v_update_sys_queue

@@ -55,7 +55,7 @@ esac
 #                       Vesta                              #
 #                       Vesta                              #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-# Logging
-log_event "$OK" "$EVENT"
+# No Logging
+#log_event "$OK" "$EVENT"
 
 
 exit
 exit

+ 2 - 2
bin/v_update_sys_rrd

@@ -131,7 +131,7 @@ done
 #                       Vesta                              #
 #                       Vesta                              #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-# Logging
-log_event "$OK" "$EVENT"
+# No Logging
+#log_event "$OK" "$EVENT"
 
 
 exit
 exit

+ 2 - 2
bin/v_update_web_domain_stat

@@ -117,7 +117,7 @@ chown -R $user:$(groups $user| cut -f 3 -d ' ') $dir
 #                       Vesta                              #
 #                       Vesta                              #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-# Logging
-log_event "$OK" "$EVENT"
+# No Logging
+#log_event "$OK" "$EVENT"
 
 
 exit
 exit