mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
lwjp-conf: quieten init logging
This commit is contained in:
parent
1f37ec0be9
commit
09f59ba3b8
2 changed files with 7 additions and 7 deletions
|
@ -233,7 +233,7 @@ lws_protocol_init(struct lws_context *context)
|
|||
pvo = pvo1->options;
|
||||
|
||||
while (pvo) {
|
||||
lwsl_notice(
|
||||
lwsl_debug(
|
||||
" vhost \"%s\", "
|
||||
"protocol \"%s\", "
|
||||
"option \"%s\"\n",
|
||||
|
@ -242,14 +242,14 @@ lws_protocol_init(struct lws_context *context)
|
|||
pvo->name);
|
||||
|
||||
if (!strcmp(pvo->name, "default")) {
|
||||
lwsl_notice("Setting default "
|
||||
lwsl_info("Setting default "
|
||||
"protocol for vh %s to %s\n",
|
||||
vh->name,
|
||||
vh->protocols[n].name);
|
||||
vh->default_protocol_index = n;
|
||||
}
|
||||
if (!strcmp(pvo->name, "raw")) {
|
||||
lwsl_notice("Setting raw "
|
||||
lwsl_info("Setting raw "
|
||||
"protocol for vh %s to %s\n",
|
||||
vh->name,
|
||||
vh->protocols[n].name);
|
||||
|
@ -687,9 +687,9 @@ lws_create_vhost(struct lws_context *context,
|
|||
mounts = info->mounts;
|
||||
while (mounts) {
|
||||
(void)mount_protocols[0];
|
||||
lwsl_notice(" mounting %s%s to %s\n",
|
||||
mount_protocols[mounts->origin_protocol],
|
||||
mounts->origin, mounts->mountpoint);
|
||||
lwsl_info(" mounting %s%s to %s\n",
|
||||
mount_protocols[mounts->origin_protocol],
|
||||
mounts->origin, mounts->mountpoint);
|
||||
|
||||
/* convert interpreter protocol names to pointers */
|
||||
pvo = mounts->interpret;
|
||||
|
|
|
@ -380,7 +380,7 @@ lejp_vhosts_cb(struct lejp_ctx *ctx, char reason)
|
|||
a->pvo->next = a->info->pvo;
|
||||
a->info->pvo = a->pvo;
|
||||
a->pvo->name = a->p;
|
||||
lwsl_notice(" adding protocol %s\n", a->p);
|
||||
lwsl_info(" adding protocol %s\n", a->p);
|
||||
a->p += n;
|
||||
a->pvo->value = a->p;
|
||||
a->pvo->options = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue