mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-01 11:15:57 +00:00
added --threaded-logger
This commit is contained in:
@@ -19,10 +19,6 @@ ssize_t uwsgi_syslog_logger(struct uwsgi_logger *ul, char *message, size_t len)
|
||||
syslog_opts = uwsgi.choosen_logger_arg;
|
||||
}
|
||||
|
||||
#ifdef UWSGI_DEBUG
|
||||
uwsgi_log("opening syslog\n");
|
||||
#endif
|
||||
|
||||
openlog(syslog_opts, 0, LOG_DAEMON);
|
||||
|
||||
ul->configured = 1;
|
||||
|
||||
@@ -232,6 +232,7 @@ static struct option long_base_options[] = {
|
||||
{"log-syslog", optional_argument, 0, LONG_ARGS_LOG_SYSLOG},
|
||||
{"log-socket", required_argument, 0, LONG_ARGS_LOG_SOCKET},
|
||||
{"logger", required_argument, 0, LONG_ARGS_LOGGER},
|
||||
{"threaded-logger", no_argument, &uwsgi.threaded_logger, 1},
|
||||
#ifdef UWSGI_ZEROMQ
|
||||
{"log-zeromq", required_argument, 0, LONG_ARGS_LOG_ZEROMQ},
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user