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

Add current thread to logs #419

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 30, 2023

  1. Add current thread to logs

    This adds the current `thread_name` to log entries which allows to
    more easily follow code paths.
    
    The resulting log lines (console and file) look like this:
    
    ```
    DEBUG [Thread-43 (clean)] getortho: NUM OPEN TILES: 24.  TOTAL MEM: 2282 MB
    INFO [Thread-71 (_udp_listen)] flighttrack: UDP listen thread exiting...
    INFO [MainThread] flighttrack: FlightTracker exiting.
    ```
    jonaseberle committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    d43df53 View commit details
    Browse the repository at this point in the history