Log line length limit

895 views
Skip to first unread message

Joshua Fox

unread,
May 16, 2018, 9:04:50 AM5/16/18
to App Engine Flexible, Google Stackdriver Discussion Forum
This page says  "An application log line must not exceed 8K bytes"

However, this Quotas and Limits page  says "Size of a log entry... 100 KB"

Which is correct?

Joshua Fox

unread,
May 16, 2018, 1:51:10 PM5/16/18
to App Engine Flexible, Google Stackdriver Discussion Forum
I just ran a test and the limit is definitely 100KB. So why the discrepancy?  Note that Flex Env requires the use of  the logs to track threads, GC, and memory  usage inside the JVM, since there is no per-instance access, so a large line limit is essential.
--
 

JOSHUA FOX
Director, Software Architecture | Freightos



T (Israel): +972-545691165 | T (US):  +1-3123400953  
Smooth shipping.



Mary Koes

unread,
May 16, 2018, 3:52:30 PM5/16/18
to Joshua Fox, Steren Giannini, app-engin...@googlegroups.com, Google Stackdriver Discussion Forum
Hey Joshua,

This is a restriction for a LogLine in a RequestLog for App Engine Flex, not Stackdriver Logging, which limits entries to 100Kb.  +Steren with App Engine team since I'm not sure if/why they have stricter requirements in App Engine Flex.

Best,

Mary

--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To post to this group, send email to google-stackdr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/CAD%3DB7cMuttjT8Xq1KkD4ExokV98d0hPtaEo3CiMgnhN_QOvq6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Steren Giannini

unread,
May 16, 2018, 3:57:24 PM5/16/18
to Mary Koes, dew...@google.com, Joshua Fox, app-engin...@googlegroups.com, Google Stackdriver Discussion Forum
Sorry, I do not have more explanation. Maybe +DeWitt Clinton ?

Marc Unangst

unread,
May 16, 2018, 8:04:19 PM5/16/18
to Mary Koes, Joshua Fox, Steren Giannini, app-engin...@googlegroups.com, Google Stackdriver Discussion Forum
Hi Joshua,

We checked with some of the GAE developers and I believe this is an incorrect doc that was held over from the legacy "managed VM" version of Flex. GAE Standard has an 8 KB limit on log lines, and the old "managed VM" Flex did, but no such limit exists in the current version of Flex, only the 100 KB limit imposed by Stackdriver Logging. I'll ask our writers to update the docs. Thanks for reporting the issue, and for testing things out!

Reply all
Reply to author
Forward
0 new messages