From 31b37c09e4fe1e360e1f4d136d37e79d8af5ce91 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 16 Jun 2020 23:42:32 +0200 Subject: Some more debugmsg cleanups --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 9915cf2..0620476 100644 --- a/main.c +++ b/main.c @@ -354,11 +354,11 @@ signalfd_read(struct cfg *cfg, struct uring_task *task, int res) die("error in signalfd (%i)", res); if (sev->buf < 1000) { - info("Got a signal to quit\n"); + verbose("got a signal to quit\n"); sd_notifyf(0, "STOPPING=1\nSTATUS=Received signal, exiting"); exit(EXIT_SUCCESS); } else { - info("Got a signal to dump tree\n"); + verbose("got a signal to dump tree\n"); sd_notifyf(0, "STOPPING=1\nSTATUS=Received signal, exiting"); dump_tree(cfg); uring_task_put(cfg, &sev->task); @@ -495,8 +495,8 @@ main(int argc, char **argv) server_count, (unsigned long)getpid()); - info("%s: started, %u server configurations loaded\n", - argv[0], server_count); + info("mcproxy started, %u server configurations loaded\n", + server_count); uring_event_loop(cfg); -- cgit v1.2.3