Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Print out a log message saying what image is being copied where

Gabe Kangas790bda358def
diff --git a/core/data/migrator.go b/core/data/migrator.go
index a3e17a128b..4ebceb2da4 100644
--- a/core/data/migrator.go
+++ b/core/data/migrator.go
@@ -118,9 +118,11 @@ func migrateConfigFile() {
// Migrate logo
if logo := oldConfig.InstanceDetails.Logo; logo != "" {
filename := filepath.Base(logo)
+ oldPath := filepath.Join("webroot", logo)
newPath := filepath.Join("data", filename)
- err := utils.Copy(filepath.Join("webroot", logo), newPath)
- log.Traceln("Copying logo from", logo, "to", newPath)
+
+ log.Infoln("Copying logo from", oldPath, "to", newPath)
+ err := utils.Copy(oldPath, newPath)
if err != nil {
log.Errorln("Error moving logo", logo, err)
} else {