From b48a95584825b2ab242784e5f5146ecc9c5fe446 Mon Sep 17 00:00:00 2001 From: "roberto@precise64" Date: Sun, 26 Feb 2012 08:57:43 +0100 Subject: [PATCH] fixed paste logging --- plugins/python/pyloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python/pyloader.c b/plugins/python/pyloader.c index ebc7ce54..ee3ffe7c 100644 --- a/plugins/python/pyloader.c +++ b/plugins/python/pyloader.c @@ -665,7 +665,7 @@ PyObject *uwsgi_paste_loader(void *arg1) { PyErr_Print(); exit(UWSGI_FAILED_APP_CODE); } - PyTuple_SetItem(paste_logger_arg, 0, PyString_FromString(paste)); + PyTuple_SetItem(paste_logger_arg, 0, PyString_FromString(paste+7)); if (python_call(paste_logger_fileConfig, paste_logger_arg, 0, NULL)) { PyErr_Print(); }