diff --git a/master.c b/master.c index 4380c4dd..eedf5d06 100644 --- a/master.c +++ b/master.c @@ -679,6 +679,7 @@ void master_loop(char **argv, char **environ) { // checking logsize if (uwsgi.logfile) { uwsgi.shared->logsize = lseek(2, 0, SEEK_CUR); +/* if (uwsgi.shared->logsize > 8192) { //uwsgi_log("logsize: %d\n", uwsgi.shared->logsize); char *new_logfile = uwsgi_malloc(strlen(uwsgi.logfile) + 14 + 1); @@ -688,6 +689,7 @@ void master_loop(char **argv, char **environ) { } free(new_logfile); } +*/ } diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index 8aa2233a..98017930 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -13,6 +13,9 @@ struct option uwsgi_python_options[] = { {"callable", required_argument, 0, LONG_ARGS_CALLABLE}, {"test", required_argument, 0, 'j'}, {"home", required_argument, 0, 'H'}, + {"virtualenv", required_argument, 0, 'H'}, + {"venv", required_argument, 0, 'H'}, + {"pyhome", required_argument, 0, 'H'}, {"pythonpath", required_argument, 0, LONG_ARGS_PYTHONPATH}, {"python-path", required_argument, 0, LONG_ARGS_PYTHONPATH}, {"pymodule-alias", required_argument, 0, LONG_ARGS_PYMODULE_ALIAS},