Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Clean up some LoggingContext stuff #7120

Merged
merged 7 commits into from
Mar 24, 2020
Merged

Clean up some LoggingContext stuff #7120

merged 7 commits into from
Mar 24, 2020

Commits on Mar 20, 2020

  1. Pull Sentinel out of LoggingContext

    ... and drop a few unnecessary references to it
    richvdh committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    ec7e1d6 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2020

  1. Factor out LoggingContext.current_context

    move `current_context` and `set_context` out to top-level functions.
    
    Mostly this means that I can more easily trace what's actually referring to
    LoggingContext, but I think it's generally neater.
    richvdh committed Mar 21, 2020
    Configuration menu
    Copy the full SHA
    b2c1bd6 View commit details
    Browse the repository at this point in the history
  2. Remove LoggingContext.alive

    ... what even is the point of it.
    
    `alive` is dead.
    richvdh committed Mar 21, 2020
    Configuration menu
    Copy the full SHA
    0d3fe47 View commit details
    Browse the repository at this point in the history
  3. move copy-to-parent into stop

    this really just makes `start` and `stop` more symetric. It also means that it
    behaves correctly if you manually `set_log_context` rather than using the
    context manager.
    richvdh committed Mar 21, 2020
    Configuration menu
    Copy the full SHA
    0c7cb65 View commit details
    Browse the repository at this point in the history
  4. changelog

    richvdh committed Mar 21, 2020
    Configuration menu
    Copy the full SHA
    754789a View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. Reinstate LoggingContext.alive, as finished

    Rather than killing off `alive` altogether, turn it into `finished` and make it a bit better defined.
    richvdh committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    8f4977c View commit details
    Browse the repository at this point in the history
  2. fix finished

    richvdh committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    1a1f829 View commit details
    Browse the repository at this point in the history