Possible replication of bug from nodejs-logging-bunyan #795
Labels
api: logging
Issues related to the googleapis/nodejs-logging-winston API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
It appears that a bug within the
nodejs-logging-winston
repository mirrors a previously resolved issue in thenodejs-logging-bunyan
repository, specifically issue googleapis/nodejs-logging-bunyan#626 - Duplicate HTTP request entries when running in Cloud Run.The root of this problem seems to lie within this block of code in
nodejs-logging-winston
:nodejs-logging-winston/src/middleware/express.ts
Line 83 in 9b8657a
This block is identical to the code previously found in
nodejs-logging-bunyan
before the bug was fixed with pull request googleapis/nodejs-logging-bunyan#658 (link):Following the implementation of the pull request in
nodejs-logging-bunyan
, the code was amended to (link):It seems plausible that applying a similar fix in
nodejs-logging-winston
could resolve this issue.The text was updated successfully, but these errors were encountered: