summaryrefslogtreecommitdiffstats
path: root/bindings/python/wrapper_bottom.c
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/wrapper_bottom.c')
-rw-r--r--bindings/python/wrapper_bottom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bindings/python/wrapper_bottom.c b/bindings/python/wrapper_bottom.c
index 51de44b0..a899188d 100644
--- a/bindings/python/wrapper_bottom.c
+++ b/bindings/python/wrapper_bottom.c
@@ -14,5 +14,7 @@ init_lasso(void)
Py_INCREF(&PyGObjectPtrType);
PyModule_AddObject(m, "PyGObjectPtr", (PyObject *)&PyGObjectPtrType);
+ lasso_log_set_handler(G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION | G_LOG_LEVEL_MASK,
+ lasso_python_log, NULL);
}