commit - a80d2bca13974bb0fe9dab49a777c3fe05abf543
commit + 982f38dc950a803ee7331eba9f6b6f7a37d45f58
blob - 300c345fa99a16c95d35c0c6d1da5cf24bbcbd9e
blob + 9bbf4b79d279c616c9b3697e3930aff8489fc7dd
--- kamid/client.c
+++ kamid/client.c
break;
switch (imsg.hdr.type) {
+ case IMSG_CTL_LOG_VERBOSE:
+ if (IMSG_DATA_SIZE(imsg) != sizeof(verbose))
+ fatalx("%s: IMSG_CTL_LOG_VERBOSE wrong size",
+ __func__);
+ memcpy(&verbose, imsg.data, sizeof(verbose));
+ log_setverbose(verbose);
+ break;
case IMSG_AUTH:
peerid = imsg.hdr.peerid;
if (auth)
blob - 87e88b00797f954fcc9d8522d96ea65c9537daa3
blob + 8468cab00cf40c398f63026667befecb402d6f9e
--- kamid/listener.c
+++ kamid/listener.c
break;
switch (imsg.hdr.type) {
+ case IMSG_CTL_LOG_VERBOSE:
+ if (IMSG_DATA_SIZE(imsg) != sizeof(verbose))
+ fatalx("wrong size for IMSG_CTL_LOG_VERBOSE");
+ memcpy(&verbose, imsg.data, sizeof(verbose));
+ log_setverbose(verbose);
+ SPLAY_FOREACH(client, clients_tree_id, &clients)
+ listener_imsg_compose_client(client,
+ imsg.hdr.type, 0,
+ &verbose, sizeof(verbose));
+ break;
case IMSG_RECONF_CONF:
case IMSG_RECONF_PKI:
case IMSG_RECONF_PKI_CERT: