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

Update logger #4047

Commits on Oct 6, 2023

  1. style: cargo fmt

    Runs updated `cargo fmt`.
    
    Signed-off-by: Jonathan Woollett-Light <[email protected]>
    Jonathan Woollett-Light committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    b1b0e31 View commit details
    Browse the repository at this point in the history
  2. refactor: Re-export logging macros

    Re-exports logging macros from `logger` to allow more atomic changes
    in `logger`.
    
    Signed-off-by: Jonathan Woollett-Light <[email protected]>
    Jonathan Woollett-Light committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    ac86392 View commit details
    Browse the repository at this point in the history
  3. feat: Update the logger

    - Refactors the logger implementation, simplifying the implementation
      and reducing the binary size by ~20kb.
    - Adds support for runtime reconfiguration.
    - Updates the check for the `Running Firecracker` log to match.
    - Updates the default log level to `Info`.
    
    Signed-off-by: Jonathan Woollett-Light <[email protected]>
    Jonathan Woollett-Light committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    9280cc2 View commit details
    Browse the repository at this point in the history
  4. fix: Logger initialization function

    Adds a logger initialization function that allows removing the `log`
    dependencies.
    
    Signed-off-by: Jonathan Woollett-Light <[email protected]>
    Jonathan Woollett-Light committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    d9486b8 View commit details
    Browse the repository at this point in the history
  5. fix: Move argument passing up

    Moves argument passing before logging `Running Firecracker` and other
    code that may not be required if certain arguments are passed causing
    the process to exit early.
    
    Signed-off-by: Jonathan Woollett-Light <[email protected]>
    Jonathan Woollett-Light committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    1228116 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' into update_logger

    Jonathan Woollett-Light authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    fa1b8ca View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f35250e View commit details
    Browse the repository at this point in the history