Skip to content
Snippets Groups Projects

Add an option to save the log to a file

Merged Ludovico de Nittis requested to merge wip/denittis/t25231 into master
  • Factor out cli_log_func

    Moving this log function to "utils" allows us to avoid a lot of duplication.

  • wrap: Use the log handler instead of g_printerr

    We have our own log handler, so there is no need to use g_printerr() directly.

  • Add an option to save the log to a file

    With the --log-to-file option it is now possible to save the log of pressure-vessel (and the wrapped command) to a file, instead of printing it in "stderr".

    This should ease the required steps that users need to follow in order to report an issue.


/cc @smcv

The complementary change to steamlinuxruntime is steamlinuxruntime!26 (merged)

Edited by Ludovico de Nittis

Merge request reports

Merge request pipeline #6917 passed

Merge request pipeline passed for 1001048d

Merged by Simon McVittieSimon McVittie 4 years ago (Jan 5, 2021 11:15am UTC)

Loading

Pipeline #6921 passed

Pipeline passed for e3fd46a5 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading