Inconsistent behavior when log entry exceeds maximum log entry size #450
Labels
api: logging
Issues related to the googleapis/nodejs-logging API.
🚨
This issue needs some love.
status: duplicate
Duplicate.
triage me
I really want to be triaged.
When any log entry exceeds the maximum log entry size, no log entries appear in the log viewer for that function invocation. This can make the offending log entry difficult to track down, because the other log entries that would normally provide context are missing. Additionally, when a log entry exceeds the maximum log entry size, an error like this should be logged:
But this does not always happen.
Environment details
@google-cloud/logging-winston
version: 0.11.1winston
version: 3.2.1Steps to reproduce
Expected result
All winston log entries appear in the log viewer, except for an error in place of the log entry that exceeds the maximum log entry size. The
console.log
entry always appears.Actual result
No winston log entries appear in the log viewer. The
console.log
entry always appears. An error is sometimes logged in place of the log entry that exceeds the maximum log entry size, but not consistently (that is, I have not been able to get it to appear consistenly, but if you trigger the function enough times it should appear eventually.)Additional information
Potentially related to #190
The text was updated successfully, but these errors were encountered: