mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2026-04-10 12:12:18 -07:00
Rename setup.log to setup-log.txt for easier use
This commit is contained in:
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -18,4 +18,4 @@ Explain exactly the steps you did:
|
|||||||
4. ...
|
4. ...
|
||||||
|
|
||||||
**Log file**
|
**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.
|
||||||
|
|||||||
@@ -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`.
|
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.
|
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
|
### Impossible to boot at all
|
||||||
|
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ public class Setup {
|
|||||||
var timestamp = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
var timestamp = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||||
var pid = System.Diagnostics.Process.GetCurrentProcess().Id;
|
var pid = System.Diagnostics.Process.GetCurrentProcess().Id;
|
||||||
var prefix = $"{timestamp} | pid {pid} | ";
|
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.");
|
WriteLine("This was a dry run, your system was not actually modified.");
|
||||||
}
|
}
|
||||||
if (!Batch) {
|
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.");
|
WriteLine("Press any key to quit.");
|
||||||
Console.ReadKey();
|
Console.ReadKey();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user