From c3d237e9c62c1f917b3158ba23cf2ce3c01c9c86 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Tue, 2 Nov 2021 22:43:23 +0000 Subject: [PATCH] More verbose log --- examples/http-server/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/http-server/main.c b/examples/http-server/main.c index b25e0b5f..f5a8ba96 100644 --- a/examples/http-server/main.c +++ b/examples/http-server/main.c @@ -76,7 +76,9 @@ int main(int argc, char *argv[]) { if (mg_casecmp(s_enable_hexdump, "yes") == 0) c->is_hexdumping = 1; // Start infinite event loop - LOG(LL_INFO, ("Starting Mongoose v%s, serving [%s]", MG_VERSION, s_root_dir)); + LOG(LL_INFO, ("Mongoose version : v%s", MG_VERSION)); + LOG(LL_INFO, ("Listening on : %s", s_listening_address)); + LOG(LL_INFO, ("Web root : [%s]", s_root_dir)); while (s_signo == 0) mg_mgr_poll(&mgr, 1000); mg_mgr_free(&mgr); LOG(LL_INFO, ("Exiting on signal %d", s_signo));