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

Log delivery issue #54

Open
losfair opened this issue Dec 12, 2021 · 0 comments
Open

Log delivery issue #54

losfair opened this issue Dec 12, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@losfair
Copy link
Owner

losfair commented Dec 12, 2021

After migrating to tracing log delivery has some strange issues:

If an instance gets a background task channel lock in a few seconds after startup, the channel lock acquired log is sent to both syslog_kafka and the console.

But if the instance gets the lock after expiration (like 20 seconds later), the log is only sent to syslog_kafka.

The log looks like:

{"host":"devbox-ap","pid":538824,"tid":"2","ts":1639311912.4820883,"name":"event src/task.rs:297","target":"blueboat::task","level":"WARN","module_path":"blueboat::task","file":"src/task.rs","line":297,"fields":{"channel":"ch01","identity":"2c3963dd-8f2d-4204-907f-d8455acfb1a1","message":"channel lock acquired"},"span_id":""}
losfair added a commit that referenced this issue Dec 12, 2021
@losfair losfair added the help wanted Extra attention is needed label Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant