diff --git a/VMTestList.org~ b/VMTestList.org~ deleted file mode 100644 index 036024b..0000000 --- a/VMTestList.org~ +++ /dev/null @@ -1,5 +0,0 @@ -- [ ] Version string is correct -- [ ] Status shows READY or Downloading Assets -- [ ] - - diff --git a/internal/application/application.go b/internal/application/application.go index ff4646d..3610781 100644 --- a/internal/application/application.go +++ b/internal/application/application.go @@ -1,7 +1,6 @@ package application import ( - "encoding/json" "errors" "os" "path/filepath" @@ -96,7 +95,7 @@ func Run() { os.Remove(testFile) logger.AddFile(filepath.Join(dataDir, "log.txt")) - logger.SetLevel = logger.LevelDebug + logger.SetLevel = logger.LevelInfo DB, err = db.Connect(filepath.Join(dataDir, "database.sqlite")) if err != nil { @@ -237,12 +236,13 @@ func (app *Application) computeState() State { panic(err) } - data, err := json.MarshalIndent(config, "", " ") - if err != nil { - logger.Error("failed to marshal config: %v", err) - } else { - logger.Debug("AppConfig: %s", data) - } + // A rather annoying, insecure, but sometimes necessary "print the config" statement + // data, err := json.MarshalIndent(config, "", " ") + // if err != nil { + // logger.Error("failed to marshal config: %v", err) + // } else { + // logger.Debug("AppConfig: %s", data) + // } if config.EmailAddress == "" { return NEEDS_EMAIL_ADDRESS diff --git a/internal/page/logViewerPage.go b/internal/page/logViewerPage.go index 4f367ac..6f82313 100644 --- a/internal/page/logViewerPage.go +++ b/internal/page/logViewerPage.go @@ -197,8 +197,7 @@ func (p *LogViewerPage) Render() error { lineSpacing := int32(4) p.lineHeight = contentFontSize + lineSpacing - contentColumnWidth := int32(float32(p.Base.ScreenWidth) * 0.55) - contentLeftX := p.Base.ScreenCenterX - contentColumnWidth/2 + contentLeftX := 25 // Title titleH := float32(p.titleTextureHeight) * titleScale