Skip to content

Commit

Permalink
feat: add more log statements (#238)
Browse files Browse the repository at this point in the history
* umu_run: log version

* umu_run: log host environment variables

* umu_run: log python version info
  • Loading branch information
R1kaB3rN authored Oct 16, 2024
1 parent ba9d24c commit 6effaf2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from Xlib.protocol.rq import Event
from Xlib.xobject.drawable import Window

from umu import __version__
from umu.umu_consts import (
PR_SET_CHILD_SUBREAPER,
PROTON_VERBS,
Expand Down Expand Up @@ -725,6 +726,9 @@ def main() -> int: # noqa: D103
console_handler.setFormatter(CustomFormatter(DEBUG))
log.addHandler(console_handler)
log.setLevel(level=DEBUG)
log.debug("umu-launcher version %s (%s)", __version__, sys.version)
for key, val in os.environ.items():
log.debug("%s=%s", key, val)

with ThreadPoolExecutor() as thread_pool:
try:
Expand Down

0 comments on commit 6effaf2

Please sign in to comment.