Skip to content

Commit 3ca4634

Browse files
committed
Change "Worker thread ... starting" message to debug level
No need to print this in release builds!
1 parent 22d6b5d commit 3ca4634

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: src/lib/lwan-thread.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1177,12 +1177,12 @@ static void *thread_io_loop(void *data)
11771177
struct timeout_queue tq;
11781178

11791179
if (t->cpu == UINT_MAX) {
1180-
lwan_status_info("Worker thread #%zd starting",
1181-
t - t->lwan->thread.threads + 1);
1180+
lwan_status_debug("Worker thread #%zd starting",
1181+
t - t->lwan->thread.threads + 1);
11821182
} else {
1183-
lwan_status_info("Worker thread #%zd starting on CPU %d",
1184-
t - t->lwan->thread.threads + 1,
1185-
t->cpu);
1183+
lwan_status_debug("Worker thread #%zd starting on CPU %d",
1184+
t - t->lwan->thread.threads + 1,
1185+
t->cpu);
11861186
}
11871187

11881188
lwan_set_thread_name("worker");

0 commit comments

Comments
 (0)