summaryrefslogtreecommitdiff
path: root/src/server/wsgi_interp.c
diff options
context:
space:
mode:
authorGraham Dumpleton <Graham.Dumpleton@gmail.com>2016-09-02 11:40:30 +1000
committerGraham Dumpleton <Graham.Dumpleton@gmail.com>2016-09-02 11:40:30 +1000
commit7512d9a7efb1a30ce58d4c03b9e355b0666ae29b (patch)
tree0496f811089a69dfa79fc0f0af48099abb9267d7 /src/server/wsgi_interp.c
parente9da6e86b59eec8fbb98c644675a0d7f41feee6c (diff)
parent785ce986646bd83dd2a7c6066db87885918c8b7d (diff)
downloadmod_wsgi-4.5.6.tar.gz
Merge branch 'release/4.5.6'4.5.6
Diffstat (limited to 'src/server/wsgi_interp.c')
-rw-r--r--src/server/wsgi_interp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/wsgi_interp.c b/src/server/wsgi_interp.c
index d74cb10..5ffc82c 100644
--- a/src/server/wsgi_interp.c
+++ b/src/server/wsgi_interp.c
@@ -98,7 +98,7 @@ static PyObject *SignalIntercept_call(
PyObject *args = NULL;
PyObject *result = NULL;
Py_INCREF(o);
- log = newLogObject(NULL, APLOG_WARNING, NULL);
+ log = newLogObject(NULL, APLOG_WARNING, NULL, 0);
args = Py_BuildValue("(OOO)", Py_None, Py_None, log);
result = PyEval_CallObject(o, args);
Py_XDECREF(result);
@@ -269,7 +269,7 @@ static PyObject *ShutdownInterpreter_call(
PyObject *log = NULL;
PyObject *args = NULL;
Py_INCREF(o);
- log = newLogObject(NULL, APLOG_ERR, NULL);
+ log = newLogObject(NULL, APLOG_ERR, NULL, 0);
args = Py_BuildValue("(OOOOO)", type, value,
traceback, Py_None, log);
result = PyEval_CallObject(o, args);
@@ -516,7 +516,7 @@ InterpreterObject *newInterpreterObject(const char *name)
* the 'pdb' module.
*/
- object = newLogObject(NULL, APLOG_ERR, "stderr");
+ object = newLogObject(NULL, APLOG_ERR, "stderr", 1);
PySys_SetObject("stderr", object);
Py_DECREF(object);
@@ -529,7 +529,7 @@ InterpreterObject *newInterpreterObject(const char *name)
Py_DECREF(object);
}
else {
- object = newLogObject(NULL, APLOG_ERR, "stdout");
+ object = newLogObject(NULL, APLOG_ERR, "stdout", 1);
PySys_SetObject("stdout", object);
Py_DECREF(object);
}
@@ -1614,7 +1614,7 @@ static void Interpreter_dealloc(InterpreterObject *self)
PyObject *log = NULL;
PyObject *args = NULL;
Py_INCREF(o);
- log = newLogObject(NULL, APLOG_ERR, NULL);
+ log = newLogObject(NULL, APLOG_ERR, NULL, 0);
args = Py_BuildValue("(OOOOO)", type, value,
traceback, Py_None, log);
result = PyEval_CallObject(o, args);
@@ -1747,7 +1747,7 @@ static void Interpreter_dealloc(InterpreterObject *self)
PyObject *log = NULL;
PyObject *args = NULL;
Py_INCREF(o);
- log = newLogObject(NULL, APLOG_ERR, NULL);
+ log = newLogObject(NULL, APLOG_ERR, NULL, 0);
args = Py_BuildValue("(OOOOO)", type, value,
traceback, Py_None, log);
result = PyEval_CallObject(o, args);