summaryrefslogtreecommitdiffstats
path: root/doc/LOGGING.txt
blob: a6b9314dfb78cc6e65d1f439cc4aa347d16a1a6d (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 enviroment 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.