summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/main.c b/main.c
index e47848c..ad99684 100644
--- a/main.c
+++ b/main.c
@@ -98,6 +98,12 @@ const struct {
.name = "signals",
.val = DBG_SIG
},{
+ .name = "uring",
+ .val = DBG_UR
+ },{
+ .name = "server",
+ .val = DBG_SRV
+ },{
.name = NULL,
.val = 0
}
@@ -245,7 +251,7 @@ signalfd_read(struct cfg *cfg, struct uring_task *task, int res)
sd_notifyf(0, "STOPPING=1\nSTATUS=Received signal, exiting");
exit(EXIT_SUCCESS);
} else {
- info(stderr, "Got a signal to dump tree\n");
+ info("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);
@@ -382,7 +388,7 @@ main(int argc, char **argv)
server_count,
(unsigned long)getpid());
- info(stderr, "%s: started, %u server configurations loaded\n",
+ info("%s: started, %u server configurations loaded\n",
argv[0], server_count);
uring_event_loop(cfg);