|
|
|
|
|
by janj
1306 days ago
|
|
It's never a cross examination or contentious from my end. One recent edited example: My question: "I'm trying to investigate why a request is failing, I found it in aws, the logs for [service] contain a stack trace up to where the [microservice] request is made, logs are very sparse. Is there a way to get [microservice] stack trace?" [I included links to logs and relevant info] His response is "Do you want a stack trace on every log? I assume dumping a stack trace is somewhat expensive (though I don't actually know if this is the case) so I would be hesitant to attach one to every log entry" Did I ask to attach a stack trace to every log? I guided him through the original ask and did receive some help.
If this happened one time it wouldn't register, but his initial response here was very typical, something I got used to. |
|
You explained clearly and respectfully with the background info what you need.
They came back with a question. An odd question. I suspect:
* They are not experienced
* They have been “punished” before because someone asked for “X, and common sense implies X,Y” but the requestor wanted “X,Z”. So they ask dumb questions to be sure.
* Not enough coffee, and realtime conversation they didn’t parse what you said properly.
I would take the question with a sense of calm and not worry. It is a good think they are asking questions. Encourage dumb questions. 1% of the time they are smart questions.
As a senior dev it could be your time to shine with some mentoring:
“It would be fantastic to have a stack trace on every log, but I suspect this would cause performance problems and increase our log storage costs. It is sufficient to only have stack traces when an exception occurs”
I guess you said something like this at the time.
By the way stack trace logs where there are no exceptions are something I have done, but not every log.
Aside: A stack trace for every log almost sounds like a cool startup idea or monitoring product differentiator, as long as the UX is good and it doesn’t add noise.