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

Make prelaunch / boot logging more synchronous #2687

Closed
lukebakken opened this issue Dec 17, 2020 · 3 comments
Closed

Make prelaunch / boot logging more synchronous #2687

lukebakken opened this issue Dec 17, 2020 · 3 comments
Assignees

Comments

@lukebakken
Copy link
Collaborator

Currently, the rabbit_prelaunch debug logging does not log messages "as they happen". While working on #2656 this confused me quite a bit as it seemed as though boot functions weren't completing when they should have been. I worked around this by inserting my own logging like this:

io:format(standard_error, "@@@@@@@@ MY OBVIOUS MESSAGE~n", [])

Ideally, during RabbitMQ bootup, debug messages would be logged and flushed ASAP.

@lukebakken lukebakken assigned lukebakken and dumbbell and unassigned lukebakken Dec 17, 2020
@dumbbell
Copy link
Member

dumbbell commented Jan 5, 2021

Could you please describe how to reproduce the problem? I don't see any delay locally.

@lukebakken
Copy link
Collaborator Author

lukebakken commented Jan 5, 2021

I will attach a startup log today with and without my added standard_error messages. I didn't do anything special to reproduce the issue. It's just that log messages appeared in the console "out of order" which made it appear as though prelaunch and other boot steps were happening at times that didn't make any sense!

@HoloRin
Copy link
Contributor

HoloRin commented Jul 16, 2021

I will close this since the issue does not appear to have come up again.

@HoloRin HoloRin closed this as completed Jul 16, 2021
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

No branches or pull requests

3 participants