Comments (3)
@nirfr Thanks, I see your point. We probably should get the session state here and get the subscriber_id for logging.
vernemq/apps/vmq_server/src/vmq_ranch.erl
Line 187 in de87dad
Right now, if you cannot conclude state information from one of the logs (console.log/error.log/crash.log) the client information is lost. You can maybe check for this in your log files, but I'll label this as an enhancement.
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.
from vernemq.
Thanks
I see this behavior in other logs too. Example:
session stopped abnormally due to '{error,unexpected_message,{error,'no_#_allowed_in_publish'}}'
I'm working in Kubernetes and only have stdout. Are there other logs I can get the client information from?
from vernemq.
Here is a patch I wrote some time ago to fix this
https://github.com/mths1/vernemq/tree/feature/print-subscriber-on-log
unfortunately, I did not yet test it to the end...
from vernemq.
Related Issues (20)
- [Bug]: Node failure causes cluster restart HOT 7
- MQTT Client Authentication getting failed due to plugin_chain_exhausted HOT 3
- [Bug]: plugins.vmq_webhooks is on but not triggering HTTP endpoint HOT 3
- [Bug]: Error on cluster startup HOT 2
- [Bug]: Downloading too many/big CRLs leads to broker crash HOT 4
- [Bug]: CPU grows for steady state systems HOT 11
- how to read the retain messages stored in the leveldb of vernemq HOT 1
- [Bug]: Cannot connect VMQ Diversity to Atlas HOT 14
- [Bug]: The Status page always shows client offline when connecting to broker HOT 23
- Error adding node to cluster HOT 4
- [Bug]: Vernemq webhooks not supporting HTTP(s) HOT 7
- [Bug]: vmq-diversity Lua language. The os.time function generates a current epoch timestamp when given a specific date. HOT 2
- Message Loss is occurring on the shared subscriptions HOT 3
- shared_subscriptions - not working Vernemq 1.9.0 HOT 2
- Misconfigured MYSQL2 causes badmatch error HOT 2
- VerneMQ pod crash because of high cpu utilization HOT 1
- [Bug]: <title>Verneq service restart fails when there is a client connection and pending queue. HOT 4
- [Bug]: Still seeing empty sync issues with 2.0.1 HOT 39
- disconnected due to multiple sessions not allowed HOT 3
- [Bug]: Some data containing many / leads to connection reset HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vernemq.