Skip to content

Commit a09bf52

Browse files
author
Kristan Kenney
committed
Add logging to upgrade process
1 parent 566da26 commit a09bf52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

func/upgrade.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ upgrade_complete_message_log() {
254254
echo "https://github.com/hestiacp/hestiacp/issues "
255255
echo "============================================================================="
256256
echo
257+
$BIN/v-log-action "system" "Info" "Updates" "Update installed (Version: $new_version)."
257258
}
258259

259260
upgrade_cleanup_message() {
@@ -412,6 +413,8 @@ upgrade_init_logging() {
412413

413414
# Create log file
414415
touch $LOG
416+
417+
$BIN/v-log-action "system" "Info" "Updates" "Started update installation (Latest: $new_version, Previous: $VERSION)."
415418
}
416419

417420
upgrade_start_backup() {

0 commit comments

Comments
 (0)