Browse Source

Fix incorrect logging type

Kristan Kenney 5 years ago
parent
commit
ceb6793101

+ 1 - 1
bin/v-change-user-rkey

@@ -66,7 +66,7 @@ fi
 
 
 # Logging
 # Logging
 $BIN/v-log-action "system" "Warning" "Users" "Password reset requested (User: $user)."
 $BIN/v-log-action "system" "Warning" "Users" "Password reset requested (User: $user)."
-$BIN/v-log-action "$user" "Warn" "System" "Password reset requested."
+$BIN/v-log-action "$user" "Warning" "System" "Password reset requested."
 log_event "$OK" "$ARGUMENTS"
 log_event "$OK" "$ARGUMENTS"
 
 
 exit
 exit

+ 1 - 1
bin/v-delete-cron-reports

@@ -55,7 +55,7 @@ $BIN/v-restart-cron
 check_result $? "Cron restart failed" >/dev/null
 check_result $? "Cron restart failed" >/dev/null
 
 
 # Logging
 # Logging
-$BIN/v-log-action "$user" "Info" "Warn" "Cron job notifications and reporting disabled."
+$BIN/v-log-action "$user" "Info" "Warning" "Cron job notifications and reporting disabled."
 log_event "$OK" "$ARGUMENTS"
 log_event "$OK" "$ARGUMENTS"
 
 
 exit
 exit

+ 1 - 1
bin/v-delete-mail-domain-ssl

@@ -65,7 +65,7 @@ $BIN/v-restart-mail $restart
 check_result $? "Mail restart failed" >/dev/null
 check_result $? "Mail restart failed" >/dev/null
 
 
 # Logging
 # Logging
-$BIN/v-log-action "$user" "Warn" "Mail" "SSL disabled (Domain: $domain)."
+$BIN/v-log-action "$user" "Warning" "Mail" "SSL disabled (Domain: $domain)."
 log_event "$OK" "$ARGUMENTS"
 log_event "$OK" "$ARGUMENTS"
 
 
 exit
 exit

+ 1 - 1
bin/v-delete-user-2fa

@@ -56,7 +56,7 @@ update_user_value "$user" '$QRCODE' ""
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
 $BIN/v-log-action "system" "Warning" "System" "Two-factor authentication disabled (User: $user)."
 $BIN/v-log-action "system" "Warning" "System" "Two-factor authentication disabled (User: $user)."
-$BIN/v-log-action "$user" "Warn" "System" "Two-factor authentication disabled."
+$BIN/v-log-action "$user" "Warning" "System" "Two-factor authentication disabled."
 log_event "$OK" "$ARGUMENTS"
 log_event "$OK" "$ARGUMENTS"
 
 
 exit
 exit

+ 1 - 1
bin/v-delete-web-domain-ssl

@@ -93,7 +93,7 @@ $BIN/v-restart-proxy $restart
 check_result $? "Proxy restart failed" >/dev/null
 check_result $? "Proxy restart failed" >/dev/null
 
 
 # Logging
 # Logging
-$BIN/v-log-action "$user" "Warn" "Web" "SSL disabled (Domain: $domain)."
+$BIN/v-log-action "$user" "Warning" "Web" "SSL disabled (Domain: $domain)."
 log_event "$OK" "$ARGUMENTS"
 log_event "$OK" "$ARGUMENTS"
 
 
 exit
 exit