From 4c3ddf118fed03f52d1c234ba8836368751e10fa Mon Sep 17 00:00:00 2001 From: Janneke Janssen Date: Tue, 22 Oct 2019 19:04:39 +0200 Subject: [PATCH] Bit more friendly log messages --- core/signal.c | 2 +- core/uwsgi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/signal.c b/core/signal.c index 421c2e9109..43b1e711a4 100644 --- a/core/signal.c +++ b/core/signal.c @@ -495,7 +495,7 @@ void uwsgi_receive_signal(int fd, char *name, int id) { destroy: // better to kill the whole worker... - uwsgi_log_verbose("uWSGI %s %d screams: UAAAAAAH my master disconnected: i will kill myself !!!\n", name, id); + uwsgi_log_verbose("uWSGI %s %d error: the master disconnected from this worker. Shutting down the worker.\n", name, id); end_me(0); } diff --git a/core/uwsgi.c b/core/uwsgi.c index 3d7c2f24b0..74477e90d2 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -1442,7 +1442,7 @@ void reap_them_all(int signum) { void harakiri() { - uwsgi_log("\nF*CK !!! i must kill myself (pid: %d app_id: %d)...\n", uwsgi.mypid, uwsgi.wsgi_req->app_id); + uwsgi_log("\nKilling the current process (pid: %d app_id: %d)...\n", uwsgi.mypid, uwsgi.wsgi_req->app_id); if (!uwsgi.master_process) { uwsgi_log("*** if you want your workers to be automatically respawned consider enabling the uWSGI master process ***\n");