Rename setup.log to setup-log.txt for easier use

This commit is contained in:
Lauri Kenttä
2026-04-02 08:56:09 +03:00
parent bc2a192506
commit 28129c23fb
3 changed files with 4 additions and 4 deletions

View File

@@ -18,4 +18,4 @@ Explain exactly the steps you did:
4. ...
**Log file**
Run the setup again and select menu option `L` (or add parameter `show-boot-log` on command line). Attach the `setup.log` to this report.
Run the setup again and select menu option `L` (or add parameter `show-boot-log` on command line). Attach the `setup-log.txt` to this report.

View File

@@ -141,7 +141,7 @@ If the default logo works, try again with your custom image. Make sure that the
When you get your image working with the default configuration, you can do any other necessary changes to `config.txt`.
If the default logo does not work, check the boot log again to see if there is some obvious error.
You may report an issue and attach the `setup.log` file.
You may report an issue and attach the `setup-log.txt` file.
### Impossible to boot at all

View File

@@ -142,7 +142,7 @@ public class Setup {
var timestamp = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
var pid = System.Diagnostics.Process.GetCurrentProcess().Id;
var prefix = $"{timestamp} | pid {pid} | ";
File.AppendAllText("setup.log", prefix + s.Replace("\n", "\n" + prefix) + "\n");
File.AppendAllText("setup-log.txt", prefix + s.Replace("\n", "\n" + prefix) + "\n");
}
/**
@@ -1137,7 +1137,7 @@ public class Setup {
WriteLine("This was a dry run, your system was not actually modified.");
}
if (!Batch) {
WriteLine("If you need to report a bug,\n - run this setup again with menu option L (show-boot-log)\n - then include the setup.log file with your report.");
WriteLine("If you need to report a bug,\n - run this setup again with menu option L (show-boot-log)\n - then include the setup-log.txt file with your report.");
WriteLine("Press any key to quit.");
Console.ReadKey();
}