From e30eb7d3ce14be9ca25ed09f583aca089d536c38 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Fri, 17 Aug 2012 16:59:33 +0300 Subject: [PATCH] disabled logging --- bin/v_add_dns_on_web_alias | 6 +++--- bin/v_backup_users | 4 ++-- bin/v_suspend_mail_account | 1 - bin/v_suspend_mail_accounts | 5 ++--- bin/v_unsuspend_mail_account | 1 - bin/v_unsuspend_mail_accounts | 5 ++--- bin/v_update_sys_queue | 4 ++-- bin/v_update_sys_rrd | 4 ++-- bin/v_update_web_domain_stat | 4 ++-- 9 files changed, 15 insertions(+), 19 deletions(-) diff --git a/bin/v_add_dns_on_web_alias b/bin/v_add_dns_on_web_alias index 8fd171e2..d7e02c90 100755 --- a/bin/v_add_dns_on_web_alias +++ b/bin/v_add_dns_on_web_alias @@ -75,8 +75,8 @@ fi # Vesta # #----------------------------------------------------------# -# Logging -log_history "$EVENT" -log_event "$OK" "$EVENT" +# No Logging +#log_history "$EVENT" +#log_event "$OK" "$EVENT" exit diff --git a/bin/v_backup_users b/bin/v_backup_users index b06469d1..196cbc2e 100755 --- a/bin/v_backup_users +++ b/bin/v_backup_users @@ -33,7 +33,7 @@ done # Vesta # #----------------------------------------------------------# -# Logging -log_event "$OK" "$EVENT" +# No Logging +#log_event "$OK" "$EVENT" exit diff --git a/bin/v_suspend_mail_account b/bin/v_suspend_mail_account index 76744908..1944612f 100755 --- a/bin/v_suspend_mail_account +++ b/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' # Logging -log_history "$EVENT" log_event "$OK" "$EVENT" exit diff --git a/bin/v_suspend_mail_accounts b/bin/v_suspend_mail_accounts index 7b81aad0..66db6e95 100755 --- a/bin/v_suspend_mail_accounts +++ b/bin/v_suspend_mail_accounts @@ -47,8 +47,7 @@ done # Vesta # #----------------------------------------------------------# -# Logging -log_history "$EVENT" -log_event "$OK" "$EVENT" +# No Logging +#log_event "$OK" "$EVENT" exit diff --git a/bin/v_unsuspend_mail_account b/bin/v_unsuspend_mail_account index 15a1c929..2cf7216a 100755 --- a/bin/v_unsuspend_mail_account +++ b/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' # Logging -log_history "$EVENT" log_event "$OK" "$EVENT" exit diff --git a/bin/v_unsuspend_mail_accounts b/bin/v_unsuspend_mail_accounts index 51c53a20..6866755c 100755 --- a/bin/v_unsuspend_mail_accounts +++ b/bin/v_unsuspend_mail_accounts @@ -47,8 +47,7 @@ done # Vesta # #----------------------------------------------------------# -# Logging -log_history "$EVENT" -log_event "$OK" "$EVENT" +# No Logging +#log_event "$OK" "$EVENT" exit diff --git a/bin/v_update_sys_queue b/bin/v_update_sys_queue index de9150f7..e94403ad 100755 --- a/bin/v_update_sys_queue +++ b/bin/v_update_sys_queue @@ -55,7 +55,7 @@ esac # Vesta # #----------------------------------------------------------# -# Logging -log_event "$OK" "$EVENT" +# No Logging +#log_event "$OK" "$EVENT" exit diff --git a/bin/v_update_sys_rrd b/bin/v_update_sys_rrd index d297aad9..5f3a4491 100755 --- a/bin/v_update_sys_rrd +++ b/bin/v_update_sys_rrd @@ -131,7 +131,7 @@ done # Vesta # #----------------------------------------------------------# -# Logging -log_event "$OK" "$EVENT" +# No Logging +#log_event "$OK" "$EVENT" exit diff --git a/bin/v_update_web_domain_stat b/bin/v_update_web_domain_stat index c2f455c7..0f47a0cc 100755 --- a/bin/v_update_web_domain_stat +++ b/bin/v_update_web_domain_stat @@ -117,7 +117,7 @@ chown -R $user:$(groups $user| cut -f 3 -d ' ') $dir # Vesta # #----------------------------------------------------------# -# Logging -log_event "$OK" "$EVENT" +# No Logging +#log_event "$OK" "$EVENT" exit