Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write logs to cbi.log by default #112

Merged
merged 4 commits into from
Sep 25, 2024
Merged

Write logs to cbi.log by default #112

merged 4 commits into from
Sep 25, 2024

Commits on Sep 19, 2024

  1. Simplify usage of logging in main script

    There is no need to call logging.getLogger("codebasin") each time we use
    the logger; we can adopt the convention used by other parts of the code.
    
    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    7d10f9a View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Adjust logging configuration

    - All messages are written to a log file ("cbi.log")
    - Only errors are written to the terminal by default
    - Messages written to terminal are based on -q and -v flags
    
    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    296ea50 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Use abspath to print cbi.log location

    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    6c055b3 View commit details
    Browse the repository at this point in the history
  2. Add comment explaining usage of 'print' vs 'log'

    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    326fa8e View commit details
    Browse the repository at this point in the history