Skip to content

Improve logging from processes in container

Simon McVittie requested to merge wip/smcv/logging into master
  • urlopen, steam-remote: Optionally log to the systemd Journal

    These are sometimes run in contexts where their stdout and stderr are not available, so it's useful to have a way to force their output to go somewhere.


Commits from previous versions of this MR were already merged:

  • pressure-vessel: Expose systemd journal sockets inside container

    This allows programs inside the container to write to the Journal, which gives them a way to log errors even if they have been run with stderr pointing to /dev/null.

  • Move pv_boolean_environment into library code

    We wrote this, so it's fine to relicense it more permissively, from LGPL to MIT.

  • Use steam-runtime-tools log domain for non-pressure-vessel CLI tools

    This lets us select them for debug output with "G_MESSAGES_DEBUG=steam-runtime-tools".

Edited by Simon McVittie

Merge request reports

Loading