Fixes several problems in the output of the log file.
- Escaping percent signs
- Wrong format for data type
- Unnecessary format strings
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fixes#417
Also, removed unused variables in Gui struct:
- Removed "model" and "installReboot" variables from Gui struct as they
are not being used.
- Updated log level from warning to errors wherever applicable.
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
Due to recent updates to tmpfs, we can no longer remove files
without write permission even if we are the owner.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Provide directions for submitting bugs including what
data to include and how to enable debug logging.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Redefine the log levels to that increasing the value increases
the amount of logging. 1 (ERR) ... 5 (Verbose Debug)
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Changing the log level should not abort the installer.
Instead, force to highest or lowest value and log a warning.
This is particularly useful if set via the kernel command line
during debug of an installation we do not want to fail.
Moved setting the output log file name before setting level.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Ensure both the main code and test clean up after themselves.
Testing for changes in the /tmp directory done in the Makefile
to ensure the testing is done outside of the code itself.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This is code is still alpha. The Text-based User Interface is
undergoing a resign of the layout before beta.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>