10 Commits
Author SHA1 Message Date
Mark D Horn 38637f26f4 log: Add method to get the logfile name
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-18 12:48:36 -07:00
Mark D Horn 85cd7d5fc4 Fix permissions before removing directories
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>
2019-03-04 14:28:41 -08:00
Mark D Horn e904f1139a Ask the user to submit bugs
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>
2019-02-19 09:28:18 -08:00
Mark D Horn 8c99371179 Relocate preConf file name for logging use
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-02-19 09:28:18 -08:00
Mark D Horn 6e38f979ce Redefine Log Levels
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>
2018-10-16 16:47:50 -07:00
Mark D Horn 43690086b7 Setting Log Level should not be fatal
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>
2018-10-16 16:47:50 -07:00
Mark D Horn dfcb727914 Avoid logging repeated lines
Condense the output by caching repeated lines and printing a count.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-10-16 16:47:50 -07:00
Mark D Horn f77cced634 Remove the unfilter Out log function
Need to ensure the log out is without extraneous debug information.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-10-16 16:47:50 -07:00
Mark D Horn e550ed70ea Clean Up all temporary files and directories
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>
2018-10-02 16:24:45 -07:00
Mark D Horn e84bb0e403 First Open Source push of code base
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>
2018-08-13 14:14:30 -07:00