summaryrefslogtreecommitdiffstats
path: root/doc/LOGGING.txt
blob: 0fa90e1dab895bce1065ebc69997e060f331dca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Logging Inkscape events can be done by switching on DEBUG logs:

Set the environment variables:

INKSCAPE_DEBUG_LOG=filename.xml
INKSCAPE_DEBUG_FILTER=Comma,List,Options

Filter Options:
  CORE          - Logs core events
  XML           - Same xml changes in the log
  SPOBJECT      - Logs events from sp-object
  DOCUMENT      - Logs document events
  REFCOUNT      - Will track refs, may cause crashes
  EXTENSION     - Track extension events (where available)
  FINALIZERS    - Unknown
  INTERACTION   - User events
  CONFIGURATION - Configuration entries as they're read
  OTHER         - None

The log will output an xml file useful for machine reading.