xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 5 and Version 6 of Logging


Ignore:
Timestamp:
01/12/17 10:21:21 (4 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Logging

    v5 v6  
    55}}}
    66
     7
    78{{{#!div class="box"
    8 == Basics ==
     9== Basic Logging ==
    910
    1011Otherwise, a good first step is to start xpra from the command line and add "{{{-d CATEGORY}}}" to it, for example to debug geometry issues:
     
    1819[[BR]]
    1920
    20 You can also prefix the {{{CATEGORY}}} with a dash "{{{-}}}" to disable debug logging for it. For example, to log everything except "window" category:
     21You can also prefix the {{{CATEGORY}}} with a dash "{{{-}}}" to disable debug logging for it. For example, to log everything except the "window" category:
    2122{{{
    2223xpra start :10 -d all,-window
     
    2526}}}
    2627
     28
    2729{{{#!div class="box"
    2830== Environment Variables ==
    2931
    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}}}.
     32Each 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.
    3233
     34Use: {{{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{{{
     36XPRA_GEOMETRY_DEBUG=1 xpra attach
    3337}}}
     38}}}
     39
    3440
    3541{{{#!div class="box"