summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2013-09-29 16:01:04 +0000
committerMartin Owens <doctormo@gmail.com>2013-09-29 16:01:04 +0000
commit0c2e3e5a96898142934edd483a19969ae9bde965 (patch)
tree689d3ae25c09eaae476a08771a96d1988920e4e0
parentTutorials. Add new tutorial to Makefile.am (follow-up to r12626) (diff)
downloadinkscape-0c2e3e5a96898142934edd483a19969ae9bde965.tar.gz
inkscape-0c2e3e5a96898142934edd483a19969ae9bde965.zip
Add logging documentation and ignore QtCreator files
(bzr r12628)
-rw-r--r--.bzrignore5
-rw-r--r--doc/LOGGING.txt23
2 files changed, 28 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index 17a1bbb63..1dc89336f 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -211,3 +211,8 @@ share/palettes/palettes.h
ltmain.sh
backup.bzr
mkinstalldirs
+Inkscape.config
+Inkscape.creator
+Inkscape.creator.user
+Inkscape.files
+Inkscape.includes
diff --git a/doc/LOGGING.txt b/doc/LOGGING.txt
new file mode 100644
index 000000000..a6b9314df
--- /dev/null
+++ b/doc/LOGGING.txt
@@ -0,0 +1,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.
+
+