Commit Graph

17 Commits

Author SHA1 Message Date
Richard Hughes
0b1c65ede8 Add a --no-domain logging option
This allows us to match the debug output of other legacy tools easier, which
allows us to compare output dumps for differences.
2019-10-01 10:46:09 -05:00
Richard Hughes
8b98b1cbd9 Do not crash when starting tpm2-abrmd
The value G_LOG_LEVEL_MASK includes debugging, which tpm2-abrmd is certainly
allowed to use.

Fixes https://github.com/fwupd/fwupd/issues/1353
2019-09-16 16:57:55 +01:00
Richard Hughes
d8aaa21cde Allow turning off the timestamp prefix for debugging
This makes it easier to 'diff' the fwupd and fwupdtool output between runs.
2019-08-26 13:55:55 +01:00
Richard Hughes
1b83960d88 trivial: Fix some dead code spotted by coverity 2019-05-02 09:59:47 +01:00
Mario Limonciello
38027e696b Allow setting the daemon verbose domains at runtime 2019-04-17 12:12:13 -04:00
Richard Hughes
69fca1d754 Fix a use-after-free when using valgrind and --immediate-exit 2018-11-13 17:15:38 +00:00
Mario Limonciello
70ae1d59ed fu-debug: Redirect all debugging output to stderr instead of stdout
This makes it easier for tools to still remain functional but capture
relevant debugging logs by calling `fwupdtool` with `--verbose 2>log`
2018-09-29 07:55:25 +01:00
Richard Hughes
36a2bd06ec trivial: Allow specifying --daemon-verbose to set the log handler 2018-09-11 18:59:05 +01:00
Richard Hughes
b08e7bc7aa trivial: Set a log domain for each file
This allows us to do something like:

G_MESSAGES_DEBUG=FuEngine ./src/fwupd
2018-09-11 18:59:05 +01:00
Richard Hughes
02c90d8a03 Remove the unused Emacs indenting headers from all source files
Fixes https://github.com/hughsie/fwupd/issues/636
2018-08-09 12:48:04 +01:00
Mario Limonciello
51308e648a Adjust all licensing to LGPL 2.1+ (Closes: #526) 2018-05-29 09:03:13 +01:00
Richard Hughes
49fafec020 Set environment variables to allow easy per-plugin debugging
This allows end-users testing a specific plugin to start fwupd with an extra
command line parameter, e.g. `--plugin-verbose=unifying` to output a lot of
debugging information to the console for that specific plugin.

This replaces a lot of ad-hoc environment variables with different naming
conventions.
2017-11-14 14:22:02 +00:00
Richard Hughes
fcca6f67b2 Include all debug messages when run with --verbose 2017-01-11 16:50:17 +00:00
Richard Hughes
710bf295b2 trivial: Fix two missing break statements
Found using Coverity.
2016-11-09 19:32:26 +00:00
Richard Hughes
ce38d94d5e trivial: Get rid of useless internal-only gtk-doc markup 2016-06-29 11:25:25 +01:00
Richard Hughes
8ded6ca0f1 trivial: Mark some more strings as translatable
Also fix up some translator comments.
2015-03-16 12:51:43 +00:00
Richard Hughes
8bbfdf49a8 Flesh out the provider interface and allow offline updates 2015-02-27 08:29:13 +00:00