Skip to content

Catch one more error when disabling default logger #1733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

lukebakken
Copy link
Collaborator

Related to #1718 and #1728

Reproduction steps:

  • Run two brokers using master branch with the idea of creating a two-node cluster.
  • Run the following and you should see the following output - note the badmatch:
$ ./escript/rabbitmqctl -n rabbit2@shostakovich stop_app; ./escript/rabbitmqctl -n rabbit2@shostakovich join_cluster rabbit@shostakovich; ./escript/rabbitmqctl -n rabbit2@shostakovich start_app; ./escript/rabbitmqctl -n rabbit2@shostakovich cluster_statusStopping rabbit application on node rabbit2@shostakovich ...
Clustering node rabbit2@shostakovich with rabbit@shostakovich
The node is already a member of this cluster
Starting node rabbit2@shostakovich ...

10:47:55.004 [error] calling :logger::remove_handler failed: :error:{:badmatch, {:error, {:not_found, :default}}}

 completed with 3 plugins.
Cluster status of node rabbit2@shostakovich ...
[{nodes,[{disc,[rabbit2@shostakovich,rabbit@shostakovich]}]},
 {running_nodes,[rabbit@shostakovich,rabbit2@shostakovich]},
 {cluster_name,<<"[email protected]">>},
 {partitions,[]},
 {alarms,[{rabbit@shostakovich,[]},{rabbit2@shostakovich,[]}]}]

@michaelklishin michaelklishin merged commit 2a61385 into master Oct 16, 2018
@lukebakken lukebakken deleted the lrb-fix-logger-badmatch branch October 16, 2018 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants