Skip to content
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

Auto deleted queue log #611

Merged
merged 14 commits into from
Feb 5, 2016
Merged

Auto deleted queue log #611

merged 14 commits into from
Feb 5, 2016

Conversation

hairyhum
Copy link
Contributor

@hairyhum hairyhum commented Feb 4, 2016

Fixes #590

Added some functionality to logging:

  • Support for old format log to category.
  • Separate sink for error_logger messages. Works same way as rabbit_ sinks.
  • Removed rabbitmq lager fork from dependency

@hairyhum hairyhum changed the title Rabbitmq server 590 Auto deleted queue log Feb 4, 2016
@michaelklishin michaelklishin added this to the n/a milestone Feb 5, 2016
@michaelklishin
Copy link
Member

This needs some work, as explained on Slack. It currently uses not particularly clear wording and doesn't distinguish between exclusive and auto-delete queues, which have different removal reasons/events.

@@ -142,6 +142,8 @@ init_it(Recover, From, State = #q{q = #amqqueue{exclusive_owner = Owner}}) ->
{_, Terms} = recovery_status(Recover),
BQS = bq_init(BQ, Q, Terms),
%% Rely on terminate to delete the queue.
log_auto_delete("Exclusive query connection closed",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably mean "queue", not "query". Also, this conflates exclusive and auto-delete queues. That's confusing, please use separate functions with clearer wording (as discussed on Slack).

michaelklishin added a commit that referenced this pull request Feb 5, 2016
@michaelklishin michaelklishin merged commit 2374ae8 into master Feb 5, 2016
@dumbbell dumbbell deleted the rabbitmq-server-590 branch January 2, 2018 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants