As a follow-up to my GChat thread about removing default logger handler to clean CT stdout, I was looking at injecting logger config with undefined default handler to ct_run. It is possible but breaks cth_styledout - no nice green things whatsoever. Then I found rabbit_ct_hook which calls redirect_logger_to_ct_logs which in turn calls logger:remove_handler(default) apparently with zero effect! To cut story short - turned out rabbit_ct_hook must run before cth_styledout for remove_handler line to have any effect |
||
---|---|---|
.. | ||
include | ||
mk | ||
src | ||
test | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
LICENSE-BSD-recon | ||
LICENSE-MIT-Erlware-Commons | ||
LICENSE-MIT-Mochi | ||
LICENSE-MPL-RabbitMQ | ||
Makefile | ||
README.md | ||
codegen.py | ||
development.post.mk | ||
development.pre.mk | ||
erlang.mk | ||
rabbitmq-components.mk |
README.md
RabbitMQ Common
This library is shared between RabbitMQ server, RabbitMQ Erlang client and other RabbitMQ ecosystem projects.