Changes between Version 5 and Version 6 of Logging
- Timestamp:
- 01/12/17 10:21:21 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Logging
v5 v6 5 5 }}} 6 6 7 7 8 {{{#!div class="box" 8 == Basic s==9 == Basic Logging == 9 10 10 11 Otherwise, a good first step is to start xpra from the command line and add "{{{-d CATEGORY}}}" to it, for example to debug geometry issues: … … 18 19 [[BR]] 19 20 20 You can also prefix the {{{CATEGORY}}} with a dash "{{{-}}}" to disable debug logging for it. For example, to log everything except "window" category:21 You can also prefix the {{{CATEGORY}}} with a dash "{{{-}}}" to disable debug logging for it. For example, to log everything except the "window" category: 21 22 {{{ 22 23 xpra start :10 -d all,-window … … 25 26 }}} 26 27 28 27 29 {{{#!div class="box" 28 30 == Environment Variables == 29 31 30 Each logging category can also be enabled using environment variable, which can be useful if you cannot modify the command line, or if the logging should happen very early on, or if you aren't calling the code from its normal wrappers. 31 Use: {{{XPRA_CATEGORY_DEBUG=1 xpra ...}}} to enable debug logging for your chosen {{{CATEGORY}}}. 32 Each logging category can also be enabled using environment variables, which can be useful if you cannot modify the command line, or if the logging should happen very early on, or if you aren't calling the code from its normal wrappers. 32 33 34 Use: {{{XPRA_CATEGORY_DEBUG=1 xpra ...}}} to enable debug logging for your chosen {{{CATEGORY}}}. For example, to enable "geometry" debugging with the attach subcommand use: 35 {{{ 36 XPRA_GEOMETRY_DEBUG=1 xpra attach 33 37 }}} 38 }}} 39 34 40 35 41 {{{#!div class="box"