summaryrefslogtreecommitdiffstats
path: root/doc/LOGGING.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:50:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:50:49 +0000
commitc853ffb5b2f75f5a889ed2e3ef89b818a736e87a (patch)
tree7d13a0883bb7936b84d6ecdd7bc332b41ed04bee /doc/LOGGING.txt
parentInitial commit. (diff)
downloadinkscape-upstream.tar.xz
inkscape-upstream.zip
Adding upstream version 1.3+ds.upstream/1.3+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/LOGGING.txt')
-rw-r--r--doc/LOGGING.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/LOGGING.txt b/doc/LOGGING.txt
new file mode 100644
index 0000000..0fa90e1
--- /dev/null
+++ b/doc/LOGGING.txt
@@ -0,0 +1,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.
+
+